summaryrefslogtreecommitdiffstats
path: root/man3/pthread_cond_init.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man/man3/pthread_cond_init.3 (renamed from man3/pthread_cond_init.3)18
1 files changed, 11 insertions, 7 deletions
diff --git a/man3/pthread_cond_init.3 b/man/man3/pthread_cond_init.3
index 7fff419..0b7468d 100644
--- a/man3/pthread_cond_init.3
+++ b/man/man3/pthread_cond_init.3
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH pthread_cond_init 3 2024-02-26 "Linux man-pages 6.7"
+.TH pthread_cond_init 3 2024-05-19 "Linux man-pages (unreleased)"
.
.
.SH NAME
@@ -18,16 +18,20 @@ operations on conditions
.
.
.SH SYNOPSIS
+.nf
.B #include <pthread.h>
.P
.BI "pthread_cond_t " cond " = PTHREAD_COND_INITIALIZER;"
.P
-.BI "int pthread_cond_init(pthread_cond_t *" cond ", pthread_condattr_t *" cond_attr ");"
-.BI "int pthread_cond_signal(pthread_cond_t *" cond ");"
-.BI "int pthread_cond_broadcast(pthread_cond_t *" cond ");"
-.BI "int pthread_cond_wait(pthread_cond_t *" cond ", pthread_mutex_t *" mutex ");"
-.BI "int pthread_cond_timedwait(pthread_cond_t *" cond ", pthread_mutex_t *" mutex ", const struct timespec *" abstime ");"
-.BI "int pthread_cond_destroy(pthread_cond_t *" cond ");"
+.BI "int pthread_cond_init(pthread_cond_t *" cond ,
+.BI " pthread_condattr_t *" cond_attr );
+.BI "int pthread_cond_signal(pthread_cond_t *" cond );
+.BI "int pthread_cond_broadcast(pthread_cond_t *" cond );
+.BI "int pthread_cond_wait(pthread_cond_t *" cond ", pthread_mutex_t *" mutex );
+.BI "int pthread_cond_timedwait(pthread_cond_t *" cond ", pthread_mutex_t *" mutex ,
+.BI " const struct timespec *" abstime );
+.BI "int pthread_cond_destroy(pthread_cond_t *" cond );
+.fi
.
.
.SH DESCRIPTION