Add the pthread_atfork() prototype.

Reviewed by:	davidxu
This commit is contained in:
Daniel Eischen 2003-11-04 20:10:15 +00:00
parent 4c1123c1c0
commit 8b813ec31c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122076

View File

@ -196,6 +196,8 @@ enum pthread_mutextype {
* Thread function prototype definitions:
*/
__BEGIN_DECLS
int pthread_atfork(void (*prepare)(void), void (*parent)(void),
void (*child)(void));
int pthread_attr_destroy(pthread_attr_t *);
int pthread_attr_getstack(const pthread_attr_t * __restrict,
void ** __restrict stackaddr,