diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-07-02 21:13:10 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-07-02 21:13:10 +0000 |
commit | 76e7480783441f244936819623ce0b6fe5defca6 (patch) | |
tree | 43611f4943d1fe33d6688f223a83d4f9701d11a9 /lib | |
parent | 29e5383f53d6c31513512511f4ef639c1140c6bc (diff) |
remove redundant .Pp macros
Diffstat (limited to 'lib')
53 files changed, 47 insertions, 96 deletions
diff --git a/lib/libc_r/man/pthread_cond_broadcast.3 b/lib/libc_r/man/pthread_cond_broadcast.3 index 6005aea9f50..a18a60e545f 100644 --- a/lib/libc_r/man/pthread_cond_broadcast.3 +++ b/lib/libc_r/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/libc_r/man/pthread_cond_destroy.3 b/lib/libc_r/man/pthread_cond_destroy.3 index 155105a4bd2..8191fe3009c 100644 --- a/lib/libc_r/man/pthread_cond_destroy.3 +++ b/lib/libc_r/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/libc_r/man/pthread_cond_init.3 b/lib/libc_r/man/pthread_cond_init.3 index cb86792401a..aa5593cb8c8 100644 --- a/lib/libc_r/man/pthread_cond_init.3 +++ b/lib/libc_r/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/libc_r/man/pthread_cond_signal.3 b/lib/libc_r/man/pthread_cond_signal.3 index 12131be5f11..07062b09069 100644 --- a/lib/libc_r/man/pthread_cond_signal.3 +++ b/lib/libc_r/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/libc_r/man/pthread_cond_timedwait.3 b/lib/libc_r/man/pthread_cond_timedwait.3 index 0c087b4b51b..113889bfa76 100644 --- a/lib/libc_r/man/pthread_cond_timedwait.3 +++ b/lib/libc_r/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/libc_r/man/pthread_cond_wait.3 b/lib/libc_r/man/pthread_cond_wait.3 index b471c9a0d63..d5fb5b29ce6 100644 --- a/lib/libc_r/man/pthread_cond_wait.3 +++ b/lib/libc_r/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/libc_r/man/pthread_create.3 b/lib/libc_r/man/pthread_create.3 index 6808e474c10..196b3da167e 100644 --- a/lib/libc_r/man/pthread_create.3 +++ b/lib/libc_r/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/libc_r/man/pthread_detach.3 b/lib/libc_r/man/pthread_detach.3 index e138a8bc372..8fdebe5c6a1 100644 --- a/lib/libc_r/man/pthread_detach.3 +++ b/lib/libc_r/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/libc_r/man/pthread_equal.3 b/lib/libc_r/man/pthread_equal.3 index 2f8d6faa2ac..ba1b0a81964 100644 --- a/lib/libc_r/man/pthread_equal.3 +++ b/lib/libc_r/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/libc_r/man/pthread_exit.3 b/lib/libc_r/man/pthread_exit.3 index d6393e0aa63..a6016203c97 100644 --- a/lib/libc_r/man/pthread_exit.3 +++ b/lib/libc_r/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/libc_r/man/pthread_join.3 b/lib/libc_r/man/pthread_join.3 index 4ef03aacbc6..6abfc3e0b50 100644 --- a/lib/libc_r/man/pthread_join.3 +++ b/lib/libc_r/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/libc_r/man/pthread_key_create.3 b/lib/libc_r/man/pthread_key_create.3 index 2934fe8edbe..f9f4b2c6b9c 100644 --- a/lib/libc_r/man/pthread_key_create.3 +++ b/lib/libc_r/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/libc_r/man/pthread_key_delete.3 b/lib/libc_r/man/pthread_key_delete.3 index b1cd22e9b12..48c6895187f 100644 --- a/lib/libc_r/man/pthread_key_delete.3 +++ b/lib/libc_r/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/libc_r/man/pthread_mutex_destroy.3 b/lib/libc_r/man/pthread_mutex_destroy.3 index 5615b775718..2b9e0c06000 100644 --- a/lib/libc_r/man/pthread_mutex_destroy.3 +++ b/lib/libc_r/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/libc_r/man/pthread_mutex_init.3 b/lib/libc_r/man/pthread_mutex_init.3 index 6fe4cd858e4..981ddd31efa 100644 --- a/lib/libc_r/man/pthread_mutex_init.3 +++ b/lib/libc_r/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/libc_r/man/pthread_mutex_lock.3 b/lib/libc_r/man/pthread_mutex_lock.3 index 46ce0c57a93..a273947e1c8 100644 --- a/lib/libc_r/man/pthread_mutex_lock.3 +++ b/lib/libc_r/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/libc_r/man/pthread_mutex_trylock.3 b/lib/libc_r/man/pthread_mutex_trylock.3 index ed017bb0098..ac3abe03d2a 100644 --- a/lib/libc_r/man/pthread_mutex_trylock.3 +++ b/lib/libc_r/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/libc_r/man/pthread_mutex_unlock.3 b/lib/libc_r/man/pthread_mutex_unlock.3 index b0f557b12bd..9b9b0cc82c8 100644 --- a/lib/libc_r/man/pthread_mutex_unlock.3 +++ b/lib/libc_r/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/libc_r/man/pthread_once.3 b/lib/libc_r/man/pthread_once.3 index 3c786eb201d..f33a6901f6b 100644 --- a/lib/libc_r/man/pthread_once.3 +++ b/lib/libc_r/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/libc_r/man/pthread_self.3 b/lib/libc_r/man/pthread_self.3 index 3b4395020b8..3a43764ac0a 100644 --- a/lib/libc_r/man/pthread_self.3 +++ b/lib/libc_r/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/libc_r/man/pthread_setspecific.3 b/lib/libc_r/man/pthread_setspecific.3 index 4cea6f7edef..dd4e5bf775f 100644 --- a/lib/libc_r/man/pthread_setspecific.3 +++ b/lib/libc_r/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 , diff --git a/lib/libcompat/4.4/cuserid.3 b/lib/libcompat/4.4/cuserid.3 index 8c4a0ab217f..4b6145a22ef 100644 --- a/lib/libcompat/4.4/cuserid.3 +++ b/lib/libcompat/4.4/cuserid.3 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)ctermid.3 5.2 (Berkeley) 4/19/91 -.\" $Id: cuserid.3,v 1.1 1995/10/18 08:42:35 deraadt Exp $ +.\" $Id: cuserid.3,v 1.2 1999/07/02 21:12:58 aaron Exp $ .\" .Dd November 28, 1993 .Dt CUSERID 3 @@ -67,7 +67,6 @@ file .Aq Pa stdio.h ) bytes long. Otherwise, the user name is copied to a static buffer. -.Pp .Sh RETURN VALUES If .Fa buf diff --git a/lib/libkeynote/keynote.1 b/lib/libkeynote/keynote.1 index f0a0e8a6511..7ffcf0a8c4c 100644 --- a/lib/libkeynote/keynote.1 +++ b/lib/libkeynote/keynote.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: keynote.1,v 1.4 1999/05/27 01:14:15 angelos Exp $ +.\" $OpenBSD: keynote.1,v 1.5 1999/07/02 21:13:08 aaron Exp $ .\" .\" The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) .\" @@ -95,7 +95,6 @@ for the first line and has to be longer (by at least 2) than also accounts for the line-continuation character (backslash) at the end of each line, and the doublequotes at the begining and end of the key encoding. Default values are 12 and 50 respectively. -.Pp .Sh ASSERTION SIGNING "keynote sign" reads the assertion contained in .Fa AssertionFile @@ -150,12 +149,10 @@ flag is provided, "keynote sign" will also verify the newly-created signature using the .Fa Authorizer field key. -.Pp .Sh SIGNATURE VERIFICATION "keynote sigver" reads the assertion contained in .Fa AssertionFile and verifies the public-key signature on it. -.Pp .Sh QUERY TOOL For each operand that names a .A file , @@ -216,7 +213,6 @@ flags should be given per invocation. If no flags are given, "keynote verify" prints the usage message and exits with error code -1. .Pp "keynote verify" exits with code -1 if there was an error, and 0 on success. -.Pp .Sh SEE ALSO .Xr keynote 3 , .Xr keynote 4 diff --git a/lib/libkeynote/keynote.3 b/lib/libkeynote/keynote.3 index 972106df099..0ff3cfb20d7 100644 --- a/lib/libkeynote/keynote.3 +++ b/lib/libkeynote/keynote.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: keynote.3,v 1.5 1999/05/27 01:09:44 angelos Exp $ +.\" $OpenBSD: keynote.3,v 1.6 1999/07/02 21:13:08 aaron Exp $ .\" .\" The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) .\" @@ -739,7 +739,6 @@ if necessary memory could not be allocated, or .Er ERROR_SYNTAX if the assertion contained a syntactic error, or the cryptographic algorithm was not supported. -.Pp .Sh FILES .Fd keynote.h .Fd libkeynote.a diff --git a/lib/libkeynote/keynote.4 b/lib/libkeynote/keynote.4 index 4637ee74079..795c5778a6f 100644 --- a/lib/libkeynote/keynote.4 +++ b/lib/libkeynote/keynote.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: keynote.4,v 1.6 1999/05/27 01:14:15 angelos Exp $ +.\" $OpenBSD: keynote.4,v 1.7 1999/07/02 21:13:09 aaron Exp $ .\" .\" The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu) .\" @@ -226,7 +226,6 @@ simplify the design and analysis of complex network-based security protocols; network failures that prevent the transmission of credentials can never result in spurious authorization of dangerous actions. -.Pp .Sh FILES .Fd keynote.h .Fd libkeynote.a diff --git a/lib/libkvm.old/kvm_getfiles.3 b/lib/libkvm.old/kvm_getfiles.3 index 1a4237c0511..c5acfdcbc5c 100644 --- a/lib/libkvm.old/kvm_getfiles.3 +++ b/lib/libkvm.old/kvm_getfiles.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kvm_getfiles.3,v 1.3 1999/05/16 19:55:54 alex Exp $ +.\" $OpenBSD: kvm_getfiles.3,v 1.4 1999/07/02 21:13:05 aaron Exp $ .\" .\" Copyright (c) 1992, 1993 .\" The Regents of the University of California. All rights reserved. @@ -72,8 +72,9 @@ subsequent kvm library calls. Data should be copied out if it needs to be saved. .Sh RETURN VALUES .Fn kvm_getfiles -will return NULL on failure. -.Pp +will return +.Dv NULL +on failure. .Sh BUGS This routine does not belong in the kvm interface. .Sh SEE ALSO diff --git a/lib/libkvm.old/kvm_getprocs.3 b/lib/libkvm.old/kvm_getprocs.3 index 17c0db7a53c..3cb7ea0b0ad 100644 --- a/lib/libkvm.old/kvm_getprocs.3 +++ b/lib/libkvm.old/kvm_getprocs.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kvm_getprocs.3,v 1.2 1998/08/06 21:27:41 kstailey Exp $ +.\" $OpenBSD: kvm_getprocs.3,v 1.3 1999/07/02 21:13:05 aaron Exp $ .\" .\" Copyright (c) 1992, 1993 .\" The Regents of the University of California. All rights reserved. @@ -150,7 +150,6 @@ and all return .Dv NULL on failure. -.Pp .Sh BUGS These routines do not belong in the kvm interface. .Sh SEE ALSO diff --git a/lib/libkvm/kvm_getfiles.3 b/lib/libkvm/kvm_getfiles.3 index 98517b66053..6dc662d64ab 100644 --- a/lib/libkvm/kvm_getfiles.3 +++ b/lib/libkvm/kvm_getfiles.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kvm_getfiles.3,v 1.4 1999/05/16 19:55:52 alex Exp $ +.\" $OpenBSD: kvm_getfiles.3,v 1.5 1999/07/02 21:13:04 aaron Exp $ .\" $NetBSD: kvm_getfiles.3,v 1.3 1996/03/18 22:33:23 thorpej Exp $ .\" .\" Copyright (c) 1992, 1993 @@ -73,8 +73,9 @@ subsequent kvm library calls. Data should be copied out if it needs to be saved. .Sh RETURN VALUES .Fn kvm_getfiles -will return NULL on failure. -.Pp +will return +.Dv NULL +on failure. .Sh BUGS This routine does not belong in the kvm interface. .Sh SEE ALSO diff --git a/lib/libkvm/kvm_getprocs.3 b/lib/libkvm/kvm_getprocs.3 index 5d64b8c6070..b983d307133 100644 --- a/lib/libkvm/kvm_getprocs.3 +++ b/lib/libkvm/kvm_getprocs.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kvm_getprocs.3,v 1.4 1999/06/05 04:16:08 aaron Exp $ +.\" $OpenBSD: kvm_getprocs.3,v 1.5 1999/07/02 21:13:04 aaron Exp $ .\" $NetBSD: kvm_getprocs.3,v 1.3 1996/05/20 16:58:03 mrg Exp $ .\" .\" Copyright (c) 1992, 1993 @@ -153,7 +153,6 @@ and all return .Dv NULL on failure. -.Pp .Sh BUGS These routines do not belong in the kvm interface. .Sh SEE ALSO diff --git a/lib/libm/man/lgamma.3 b/lib/libm/man/lgamma.3 index b88dacf2fee..61b080b500e 100644 --- a/lib/libm/man/lgamma.3 +++ b/lib/libm/man/lgamma.3 @@ -30,11 +30,11 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)lgamma.3 6.6 (Berkeley) 12/3/92 -.\" $Id: lgamma.3,v 1.6 1999/07/01 00:06:40 deraadt Exp $ +.\" $Id: lgamma.3,v 1.7 1999/07/02 21:13:06 aaron Exp $ .\" .Dd December 3, 1992 .Dt LGAMMA 3 -.Os BSD 4.3 +.Os .Sh NAME .Nm lgamma , .Nm lgammaf @@ -64,7 +64,6 @@ returns ln\||\(*G(x)|. The external integer .Fa signgam returns the sign of \(*G(x). -.Pp .Sh IDIOSYNCRASIES Do not use the expression .Dq Li signgam\(**exp(lgamma(x)) @@ -77,7 +76,6 @@ lg = lgamma(x); g = signgam\(**exp(lg); Only after .Fn lgamma has returned can signgam be correct. -.Pp .Sh RETURN VALUES .Fn lgamma returns appropriate values unless an argument is out of range. @@ -95,6 +93,6 @@ is set to .Xr math 3 .Sh HISTORY The -.Nm lgamma +.Fn lgamma function appeared in .Bx 4.3 . 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 , diff --git a/lib/libutil/opendev.3 b/lib/libutil/opendev.3 index fd9a878e2e3..3587b71a59b 100644 --- a/lib/libutil/opendev.3 +++ b/lib/libutil/opendev.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: opendev.3,v 1.6 1999/05/27 16:21:00 aaron Exp $ +.\" $OpenBSD: opendev.3,v 1.7 1999/07/02 21:13:07 aaron Exp $ .\" .\" Copyright (c) 1996, Jason Downs. All rights reserved. .\" @@ -36,22 +36,27 @@ .Sh DESCRIPTION The .Fn opendev -function opens a device using the "short form" name. This is typically -"sd0" or "sd0c", for instance, which will be expanded to +function opens a device using the +.Dq short form +name. This is typically +.Dq sd0 +or +.Dq sd0c , +for instance, which will be expanded to .Pa /dev/rsd0c on most architectures. .Pp The -.Ar oflags +.Fa oflags are the same as the -.Ar flags +.Fa flags passed to .Xr open 2 . .Pp The -.Ar dflags +.Fa dflags are specified by -.Em OR Ns 'ing +.Tn OR Ns 'ing the following values: .Pp .Bd -literal -offset indent -compact @@ -60,17 +65,19 @@ OPENDEV_DRCT attempt to open the device itself during expansion .Ed .Pp If -.Ar realpath -is not NULL, it is modified to point at the fully expanded device name. -.Pp +.Fa realpath +is not +.Dv NULL , +it is modified to point at the fully expanded device name. .Sh RETURN VALUES The .Fn opendev return value and errors are the same as the return value and errors of .Xr open 2 . +.Sh SEE ALSO +.Xr open 2 .Sh HISTORY +The .Fn opendev -first appeared in +function first appeared in .Ox 1.2 . -.Sh SEE ALSO -.Xr open 2 diff --git a/lib/libutil/readlabelfs.3 b/lib/libutil/readlabelfs.3 index e2c4362d926..84183c86af4 100644 --- a/lib/libutil/readlabelfs.3 +++ b/lib/libutil/readlabelfs.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: readlabelfs.3,v 1.2 1998/03/10 04:50:38 millert Exp $ +.\" $OpenBSD: readlabelfs.3,v 1.3 1999/07/02 21:13:07 aaron Exp $ .\" .\" Copyright (c) 1996, Jason Downs. All rights reserved. .\" @@ -38,22 +38,23 @@ The .Fn readlabelfs function attempts to determine the filesystem type of the disk partition specified by -.Ar device +.Fa device and returns it in a short form that can be easily used to construct arguments within .Xr mount 8 and similar high-level filesystem utilties. .Pp If the -.Ar verbose +.Fa verbose argument is not 0, .Fn readlabelfs will print appropiate error messages before returning. Otherwise, it produces no output on the terminal. -.Pp .Sh RETURN VALUES .Fn readlabelfs -returns NULL upon error, or a valid filesystem type upon success. +returns +.Dv NULL +upon error, or a valid filesystem type upon success. .Sh HISTORY .Fn readlabelfs first appeared in |