diff options
Diffstat (limited to 'share/man/man3/pthread.3')
-rw-r--r-- | share/man/man3/pthread.3 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/share/man/man3/pthread.3 b/share/man/man3/pthread.3 index 076aefe..5ebb88d 100644 --- a/share/man/man3/pthread.3 +++ b/share/man/man3/pthread.3 @@ -447,6 +447,15 @@ Set the thread-specific value for the specified key. .Ss Cleanup Routines .Bl -tag -width indent .It Xo +.Ft int +.Fo pthread_atfork +.Fa "void \*[lp]*prepare\*[rp]\*[lp]void\*[rp]" +.Fa "void \*[lp]*parent\*[rp]\*[lp]void\*[rp]" +.Fa "void \*[lp]*child\*[rp]\*[lp]void\*[rp]" +.Fc +.Xc +Register fork handlers +.It Xo .Ft void .Fn pthread_cleanup_pop "int execute" .Xc @@ -472,6 +481,7 @@ They contain both thread-safe versions of functions and the thread functions. Threaded applications are linked with one of these libraries. .Sh SEE ALSO +.Xr pthread_atfork 3 , .Xr pthread_cleanup_pop 3 , .Xr pthread_cleanup_push 3 , .Xr pthread_condattr_destroy 3 , |