diff options
Diffstat (limited to 'libc/include/pthread.h')
-rw-r--r-- | libc/include/pthread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/include/pthread.h b/libc/include/pthread.h index 944bb68ee..ecabdb10e 100644 --- a/libc/include/pthread.h +++ b/libc/include/pthread.h @@ -233,6 +233,8 @@ int pthread_once(pthread_once_t *once_control, void (*init_routine)(void)); int pthread_setname_np(pthread_t thid, const char *thname); +int pthread_atfork(void (*prepare)(void), void (*parent)(void), void(*child)(void)); + typedef void (*__pthread_cleanup_func_t)(void*); typedef struct __pthread_cleanup_t { |