summaryrefslogtreecommitdiffstats
path: root/share/man/man3/pthread_cleanup_push.3
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man3/pthread_cleanup_push.3')
-rw-r--r--share/man/man3/pthread_cleanup_push.34
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man3/pthread_cleanup_push.3 b/share/man/man3/pthread_cleanup_push.3
index b04c212..70ee964 100644
--- a/share/man/man3/pthread_cleanup_push.3
+++ b/share/man/man3/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.
OpenPOWER on IntegriCloud