summaryrefslogtreecommitdiff
path: root/lib/libpthread/man/pthread_once.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/man/pthread_once.3')
-rw-r--r--lib/libpthread/man/pthread_once.36
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libpthread/man/pthread_once.3 b/lib/libpthread/man/pthread_once.3
index fc50d56bf25..22f57415ed7 100644
--- a/lib/libpthread/man/pthread_once.3
+++ b/lib/libpthread/man/pthread_once.3
@@ -37,9 +37,11 @@
.Sh SYNOPSIS
.Fd #include <pthread.h>
.Pp
-pthread_once
+.Ft pthread_once_t
.Fa once_control
-= PTHREAD_ONCE_INIT;
+\&=
+.Dv PTHREAD_ONCE_INIT ;
+.Pp
.Ft int
.Fn pthread_once "pthread_once_t *once_control" "void (*init_routine)(void)"
.Sh DESCRIPTION