diff --git a/lib/libc_r/man/pthread_cleanup_push.3 b/lib/libc_r/man/pthread_cleanup_push.3 index b04c212897b1..70ee964f6b96 100644 --- a/lib/libc_r/man/pthread_cleanup_push.3 +++ b/lib/libc_r/man/pthread_cleanup_push.3 @@ -38,7 +38,7 @@ .Sh SYNOPSIS .Fd #include .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. 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 .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. diff --git a/share/man/man3/pthread_cleanup_push.3 b/share/man/man3/pthread_cleanup_push.3 index b04c212897b1..70ee964f6b96 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 .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.