summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-05-18 06:56:03 +0000
committerru <ru@FreeBSD.org>2001-05-18 06:56:03 +0000
commit0a6dd12de13b4e5f6c191716076be4c167ce646a (patch)
tree2e4b63a02a5aac5ee7e9dc2f61c48caf75c02d57 /share
parent7337900f27445221e4847b881afce35791c1273f (diff)
downloadFreeBSD-src-0a6dd12de13b4e5f6c191716076be4c167ce646a.zip
FreeBSD-src-0a6dd12de13b4e5f6c191716076be4c167ce646a.tar.gz
Fixed typo in the description.
PR: docs/27411 Submitted by: David Wimsey <dwimsey@rtci.com>
Diffstat (limited to 'share')
-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