]> git.saurik.com Git - apple/libc.git/blobdiff - pthreads/pthread.3
Libc-391.tar.gz
[apple/libc.git] / pthreads / pthread.3
index 444e361ddd565f4596dfe0d32332b3524aeda006..24639fd111a2e99d2c6b9e2fd06e4d5ca878a2e9 100644 (file)
@@ -107,6 +107,12 @@ Calls an initialization routine once.
 .Fn pthread_self void
 .Xc
 Returns the thread ID of the calling thread.
+.It Xo
+.Ft int 
+.Fn pthread_atfork "void (*prepare)(void)" "void (*parent)(void)" "void (*child)(void)"
+.Xc
+Registers handlers to be called before and after
+.Fn fork
 .El
 .Sh ATTRIBUTE OBJECT ROUTINES
 .Bl -tag -width Er