From 8b813ec31cf03fd49bfb11b7460b721d55f9e5f6 Mon Sep 17 00:00:00 2001 From: Daniel Eischen Date: Tue, 4 Nov 2003 20:10:15 +0000 Subject: [PATCH] Add the pthread_atfork() prototype. Reviewed by: davidxu --- include/pthread.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/pthread.h b/include/pthread.h index e86b31821910..36a5eff331f3 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -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,