diff options
Diffstat (limited to 'lib/libpthread/man')
21 files changed, 2 insertions, 26 deletions
diff --git a/lib/libpthread/man/pthread_cond_broadcast.3 b/lib/libpthread/man/pthread_cond_broadcast.3 index 6005aea9f50..a18a60e545f 100644 --- a/lib/libpthread/man/pthread_cond_broadcast.3 +++ b/lib/libpthread/man/pthread_cond_broadcast.3 @@ -54,7 +54,6 @@ The value specified by .Fa cond is invalid. .El -.Pp .Sh SEE ALSO .Xr pthread_cond_destroy 3 , .Xr pthread_cond_init 3 , diff --git a/lib/libpthread/man/pthread_cond_destroy.3 b/lib/libpthread/man/pthread_cond_destroy.3 index 155105a4bd2..8191fe3009c 100644 --- a/lib/libpthread/man/pthread_cond_destroy.3 +++ b/lib/libpthread/man/pthread_cond_destroy.3 @@ -58,7 +58,6 @@ The variable .Fa cond is locked by another thread. .El -.Pp .Sh SEE ALSO .Xr pthread_cond_broadcast 3 , .Xr pthread_cond_init 3 , diff --git a/lib/libpthread/man/pthread_cond_init.3 b/lib/libpthread/man/pthread_cond_init.3 index cb86792401a..aa5593cb8c8 100644 --- a/lib/libpthread/man/pthread_cond_init.3 +++ b/lib/libpthread/man/pthread_cond_init.3 @@ -65,7 +65,6 @@ variable. .It Bq Er EAGAIN The temporarily lacks the resources to create another condition variable. .El -.Pp .Sh SEE ALSO .Xr pthread_cond_broadcast 3 , .Xr pthread_cond_destroy 3 , diff --git a/lib/libpthread/man/pthread_cond_signal.3 b/lib/libpthread/man/pthread_cond_signal.3 index 12131be5f11..07062b09069 100644 --- a/lib/libpthread/man/pthread_cond_signal.3 +++ b/lib/libpthread/man/pthread_cond_signal.3 @@ -54,7 +54,6 @@ The value specified by .Fa cond is invalid. .El -.Pp .Sh SEE ALSO .Xr pthread_cond_broadcast 3 , .Xr pthread_cond_destroy 3 , diff --git a/lib/libpthread/man/pthread_cond_timedwait.3 b/lib/libpthread/man/pthread_cond_timedwait.3 index 0c087b4b51b..113889bfa76 100644 --- a/lib/libpthread/man/pthread_cond_timedwait.3 +++ b/lib/libpthread/man/pthread_cond_timedwait.3 @@ -71,7 +71,6 @@ is invalid. The system time has reached or exceeded the time specified in .Fa abstime . .El -.Pp .Sh SEE ALSO .Xr pthread_cond_broadcast 3 , .Xr pthread_cond_destroy 3 , diff --git a/lib/libpthread/man/pthread_cond_wait.3 b/lib/libpthread/man/pthread_cond_wait.3 index b471c9a0d63..d5fb5b29ce6 100644 --- a/lib/libpthread/man/pthread_cond_wait.3 +++ b/lib/libpthread/man/pthread_cond_wait.3 @@ -65,7 +65,6 @@ or the value specified by .Fa attr is invalid. .El -.Pp .Sh SEE ALSO .Xr pthread_cond_broadcast 3 , .Xr pthread_cond_destroy 3 , diff --git a/lib/libpthread/man/pthread_create.3 b/lib/libpthread/man/pthread_create.3 index 6808e474c10..196b3da167e 100644 --- a/lib/libpthread/man/pthread_create.3 +++ b/lib/libpthread/man/pthread_create.3 @@ -98,7 +98,6 @@ The value specified by .Fa attr is invalid. .El -.Pp .Sh SEE ALSO .Xr fork 2 , .Xr pthread_cleanup_pop 3 , diff --git a/lib/libpthread/man/pthread_detach.3 b/lib/libpthread/man/pthread_detach.3 index e138a8bc372..8fdebe5c6a1 100644 --- a/lib/libpthread/man/pthread_detach.3 +++ b/lib/libpthread/man/pthread_detach.3 @@ -71,7 +71,6 @@ No thread could be found corresponding to that specified by the given thread ID, .Fa thread . .El -.Pp .Sh SEE ALSO .Xr pthread_join 3 .Sh STANDARDS diff --git a/lib/libpthread/man/pthread_equal.3 b/lib/libpthread/man/pthread_equal.3 index 2f8d6faa2ac..ba1b0a81964 100644 --- a/lib/libpthread/man/pthread_equal.3 +++ b/lib/libpthread/man/pthread_equal.3 @@ -55,7 +55,6 @@ and correspond to the same thread, otherwise it will return zero. .Sh ERRORS None. -.Pp .Sh SEE ALSO .Xr pthread_create 3 , .Xr pthread_exit 3 diff --git a/lib/libpthread/man/pthread_exit.3 b/lib/libpthread/man/pthread_exit.3 index d6393e0aa63..a6016203c97 100644 --- a/lib/libpthread/man/pthread_exit.3 +++ b/lib/libpthread/man/pthread_exit.3 @@ -79,14 +79,12 @@ The process will exit with an exit status of 0 after the last thread has been terminated. The behavior is as if the implementation called .Fn exit with a zero argument at thread termination time. -.Pp .Sh RETURN VALUES The .Fn pthread_exit function cannot return to its caller. .Sh ERRORS None. -.Pp .Sh SEE ALSO .Xr _exit 2 , .Xr exit 3 , diff --git a/lib/libpthread/man/pthread_join.3 b/lib/libpthread/man/pthread_join.3 index 4ef03aacbc6..6abfc3e0b50 100644 --- a/lib/libpthread/man/pthread_join.3 +++ b/lib/libpthread/man/pthread_join.3 @@ -66,7 +66,6 @@ is cancelled, then the target thread is not detached. .Pp A thread that has exited but remains unjoined counts against [_POSIX_THREAD_THREADS_MAX]. -.Pp .Sh RETURN VALUES If successful, the .Fn pthread_join @@ -89,7 +88,6 @@ A deadlock was detected or the value of .Fa thread specifies the calling thread. .El -.Pp .Sh SEE ALSO .Xr wait 2 , .Xr pthread_create 3 diff --git a/lib/libpthread/man/pthread_key_create.3 b/lib/libpthread/man/pthread_key_create.3 index 2934fe8edbe..f9f4b2c6b9c 100644 --- a/lib/libpthread/man/pthread_key_create.3 +++ b/lib/libpthread/man/pthread_key_create.3 @@ -86,7 +86,6 @@ data key, or the system-imposed limit on the total number of keys per process .It Bq Er ENOMEM Insufficient memory exists to create the key. .El -.Pp .Sh SEE ALSO .Xr pthread_getspecific 3 , .Xr pthread_key_delete 3 , diff --git a/lib/libpthread/man/pthread_key_delete.3 b/lib/libpthread/man/pthread_key_delete.3 index b1cd22e9b12..48c6895187f 100644 --- a/lib/libpthread/man/pthread_key_delete.3 +++ b/lib/libpthread/man/pthread_key_delete.3 @@ -80,7 +80,6 @@ The .Fa key value is invalid. .El -.Pp .Sh SEE ALSO .Xr pthread_getspecific 3 , .Xr pthread_key_create 3 , diff --git a/lib/libpthread/man/pthread_mutex_destroy.3 b/lib/libpthread/man/pthread_mutex_destroy.3 index 5615b775718..2b9e0c06000 100644 --- a/lib/libpthread/man/pthread_mutex_destroy.3 +++ b/lib/libpthread/man/pthread_mutex_destroy.3 @@ -57,7 +57,6 @@ is invalid. .Fa mutex is locked by another thread. .El -.Pp .Sh SEE ALSO .Xr pthread_mutex_init 3 , .Xr pthread_mutex_lock 3 , diff --git a/lib/libpthread/man/pthread_mutex_init.3 b/lib/libpthread/man/pthread_mutex_init.3 index 6fe4cd858e4..981ddd31efa 100644 --- a/lib/libpthread/man/pthread_mutex_init.3 +++ b/lib/libpthread/man/pthread_mutex_init.3 @@ -64,7 +64,6 @@ The process cannot allocate enough memory to create another mutex. .It Bq Er EAGAIN The temporarily lacks the resources to create another mutex. .El -.Pp .Sh SEE ALSO .Xr pthread_mutex_destroy 3 , .Xr pthread_mutex_lock 3 , diff --git a/lib/libpthread/man/pthread_mutex_lock.3 b/lib/libpthread/man/pthread_mutex_lock.3 index 46ce0c57a93..a273947e1c8 100644 --- a/lib/libpthread/man/pthread_mutex_lock.3 +++ b/lib/libpthread/man/pthread_mutex_lock.3 @@ -59,7 +59,6 @@ is invalid. A deadlock would occur if the thread blocked waiting for .Fa mutex . .El -.Pp .Sh SEE ALSO .Xr pthread_mutex_destroy 3 , .Xr pthread_mutex_init 3 , diff --git a/lib/libpthread/man/pthread_mutex_trylock.3 b/lib/libpthread/man/pthread_mutex_trylock.3 index ed017bb0098..ac3abe03d2a 100644 --- a/lib/libpthread/man/pthread_mutex_trylock.3 +++ b/lib/libpthread/man/pthread_mutex_trylock.3 @@ -60,7 +60,6 @@ is invalid. .Fa mutex is already locked. .El -.Pp .Sh SEE ALSO .Xr pthread_mutex_destroy 3 , .Xr pthread_mutex_init 3 , diff --git a/lib/libpthread/man/pthread_mutex_unlock.3 b/lib/libpthread/man/pthread_mutex_unlock.3 index b0f557b12bd..9b9b0cc82c8 100644 --- a/lib/libpthread/man/pthread_mutex_unlock.3 +++ b/lib/libpthread/man/pthread_mutex_unlock.3 @@ -59,7 +59,6 @@ is invalid. The current thread does not hold a lock on .Fa mutex . .El -.Pp .Sh SEE ALSO .Xr pthread_mutex_destroy 3 , .Xr pthread_mutex_init 3 , diff --git a/lib/libpthread/man/pthread_once.3 b/lib/libpthread/man/pthread_once.3 index 3c786eb201d..f33a6901f6b 100644 --- a/lib/libpthread/man/pthread_once.3 +++ b/lib/libpthread/man/pthread_once.3 @@ -76,7 +76,7 @@ is a cancellation point and is cancelled, the effect on was never called. .Pp The constant -.Fa PTHREAD_ONCE_INIT +.Dv PTHREAD_ONCE_INIT is defined by header .Aq Pa pthread.h . .Pp @@ -85,8 +85,7 @@ The behavior of is undefined if .Fa once_control has automatic storage duration or is not initialized by -.Fa PTHREAD_ONCE_INIT . -.Pp +.Dv PTHREAD_ONCE_INIT . .Sh RETURN VALUES If successful, the .Fn pthread_once @@ -94,7 +93,6 @@ function will return zero. Otherwise an error number will be returned to indicate the error. .Sh ERRORS None. -.Pp .Sh STANDARDS .Fn pthread_once conforms to ISO/IEC 9945-1 ANSI/IEEE diff --git a/lib/libpthread/man/pthread_self.3 b/lib/libpthread/man/pthread_self.3 index 3b4395020b8..3a43764ac0a 100644 --- a/lib/libpthread/man/pthread_self.3 +++ b/lib/libpthread/man/pthread_self.3 @@ -48,7 +48,6 @@ The function returns the thread ID of the calling thread. .Sh ERRORS None. -.Pp .Sh SEE ALSO .Xr pthread_create 3 , .Xr pthread_equal 3 diff --git a/lib/libpthread/man/pthread_setspecific.3 b/lib/libpthread/man/pthread_setspecific.3 index 4cea6f7edef..dd4e5bf775f 100644 --- a/lib/libpthread/man/pthread_setspecific.3 +++ b/lib/libpthread/man/pthread_setspecific.3 @@ -79,7 +79,6 @@ The .Fa key value is invalid. .El -.Pp .Sh SEE ALSO .Xr pthread_getspecific 3 , .Xr pthread_key_create 3 , |