summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-05-18 06:56:03 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-05-18 06:56:03 +0000
commit108b08b24e330a534b219378d68db1ee6467f366 (patch)
treec442cc5e409dfdcea331f25cb8e16357915df4a8 /lib/libpthread
parentada3b4c3668a3425fe99218369a80c2aef8c006e (diff)
Notes
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/man/pthread_cleanup_push.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/man/pthread_cleanup_push.3 b/lib/libpthread/man/pthread_cleanup_push.3
index b04c212897b1..70ee964f6b96 100644
--- a/lib/libpthread/man/pthread_cleanup_push.3
+++ b/lib/libpthread/man/pthread_cleanup_push.3
@@ -38,7 +38,7 @@
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft void
-.Fn pthread_cleanup_push "void (*cleanup_routine)(void *)" "void *arg"
+.Fn pthread_cleanup_push "void \*[lp]*cleanup_routine\*[rp]\*[lp]void *\*[rp]" "void *arg"
.Sh DESCRIPTION
The
.Fn pthread_cleanup_push
@@ -48,7 +48,7 @@ to the top of the stack of cleanup handlers that
get called when the current thread exits.
.Pp
When
-.Fn pthread_cleanup_push
+.Fa cleanup_routine
is called, it is passed
.Fa arg
as its only argument.