Loading...
--- Libc/Libc-262/pthreads/pthread_cleanup_push.3
+++ Libc/Libc-498/pthreads/pthread_cleanup_push.3
@@ -36,17 +36,20 @@
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Ft void
-.Fn pthread_cleanup_push "void \*[lp]*cleanup_routine\*[rp]\*[lp]void *\*[rp]" "void *arg"
+.Fo pthread_cleanup_push
+.Fa "void \*[lp]*routine\*[rp]\*[lp]void *\*[rp]"
+.Fa "void *arg"
+.Fc
.Sh DESCRIPTION
The
.Fn pthread_cleanup_push
function adds
-.Fa cleanup_routine
+.Fa routine
to the top of the stack of cleanup handlers that
get called when the current thread exits.
.Pp
When
-.Fa cleanup_routine
+.Fa routine
is called, it is passed
.Fa arg
as its only argument.