diff options
author | 1999-06-05 04:16:04 +0000 | |
---|---|---|
committer | 1999-06-05 04:16:04 +0000 | |
commit | 096e5ce23abf51069f651fc8a2bde4480f99dcf3 (patch) | |
tree | ac253e6be4fdc981991f5f31d790591d0ff84cb4 /lib | |
parent | change some .Em/.Va to .Li, looks nicer (diff) | |
download | wireguard-openbsd-096e5ce23abf51069f651fc8a2bde4480f99dcf3.tar.xz wireguard-openbsd-096e5ce23abf51069f651fc8a2bde4480f99dcf3.zip |
capitalize the acronym ID
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/chown.2 | 8 | ||||
-rw-r--r-- | lib/libc/sys/fork.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/kill.2 | 9 | ||||
-rw-r--r-- | lib/libc/sys/msgctl.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/semctl.2 | 4 | ||||
-rw-r--r-- | lib/libc/sys/shmctl.2 | 4 | ||||
-rw-r--r-- | lib/libc_r/man/pthread_cond_init.3 | 6 | ||||
-rw-r--r-- | lib/libc_r/man/pthread_mutex_init.3 | 6 | ||||
-rw-r--r-- | lib/libkvm/kvm_getprocs.3 | 14 | ||||
-rw-r--r-- | lib/libpthread/man/pthread_cond_init.3 | 6 | ||||
-rw-r--r-- | lib/libpthread/man/pthread_mutex_init.3 | 6 | ||||
-rw-r--r-- | lib/libutil/uucplock.3 | 12 |
12 files changed, 47 insertions, 36 deletions
diff --git a/lib/libc/sys/chown.2 b/lib/libc/sys/chown.2 index 0f20c7d6225..95a4234f39e 100644 --- a/lib/libc/sys/chown.2 +++ b/lib/libc/sys/chown.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: chown.2,v 1.5 1999/05/16 19:55:20 alex Exp $ +.\" $OpenBSD: chown.2,v 1.6 1999/06/05 04:16:07 aaron Exp $ .\" $NetBSD: chown.2,v 1.10 1995/10/12 15:40:47 jtc Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 @@ -86,11 +86,11 @@ is particularly useful when used in conjunction with the file locking primitives (see .Xr flock 2 ) . .Pp -One of the owner or group id's -may be left unchanged by specifying it as -1. +One of the owner or group IDs +may be left unchanged by specifying it as \-1. .Sh RETURN VALUES Zero is returned if the operation was successful; --1 is returned if an error occurs, with a more specific +\-1 is returned if an error occurs, with a more specific error code being placed in the global variable .Va errno . .Sh ERRORS diff --git a/lib/libc/sys/fork.2 b/lib/libc/sys/fork.2 index 29b790d13d2..e8c51ed267e 100644 --- a/lib/libc/sys/fork.2 +++ b/lib/libc/sys/fork.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fork.2,v 1.6 1999/05/23 14:10:51 aaron Exp $ +.\" $OpenBSD: fork.2,v 1.7 1999/06/05 04:16:08 aaron Exp $ .\" $NetBSD: fork.2,v 1.6 1995/02/27 12:32:36 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -97,7 +97,7 @@ This limit is configuration-dependent. The limit .Dv RLIMIT_NPROC on the total number of -processes under execution by a this user id would be exceeded. +processes under execution by a this user ID would be exceeded. .It Bq Er ENOMEM There is insufficient swap space for the new process. .El diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2 index 04c51723f8a..0f1d1e3e8aa 100644 --- a/lib/libc/sys/kill.2 +++ b/lib/libc/sys/kill.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kill.2,v 1.8 1999/05/25 13:06:46 aaron Exp $ +.\" $OpenBSD: kill.2,v 1.9 1999/06/05 04:16:08 aaron Exp $ .\" $NetBSD: kill.2,v 1.7 1995/02/27 12:33:53 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -93,7 +93,8 @@ No error is returned if any process could be signaled. .Pp Setuid and setgid processes are dealt with slightly differently. For the non-root user, to prevent attacks against such processes, some signal -deliveries are not permitted and return the error EPERM. +deliveries are not permitted and return the error +.Er EPERM . The following signals are allowed through to this class of processes: .Em SIGKILL , .Em SIGINT , @@ -128,11 +129,11 @@ is not a valid signal number. No process can be found corresponding to that specified by .Fa pid . .It Bq Er ESRCH -The process id was given as 0 +The process ID was given as 0 but the sending process does not have a process group. .It Bq Er EPERM The sending process is not the super-user and its effective -user id does not match the effective user-id of the receiving process. +user ID does not match the effective user ID of the receiving process. When signaling a process group, this error is returned if any members of the group could not be signaled. .El diff --git a/lib/libc/sys/msgctl.2 b/lib/libc/sys/msgctl.2 index 562116fc5c1..e6d8be987d4 100644 --- a/lib/libc/sys/msgctl.2 +++ b/lib/libc/sys/msgctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: msgctl.2,v 1.7 1999/05/27 14:05:09 aaron Exp $ +.\" $OpenBSD: msgctl.2,v 1.8 1999/06/05 04:16:08 aaron Exp $ .\" $NetBSD: msgctl.2,v 1.2 1997/03/27 08:20:35 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -117,7 +117,7 @@ The values are taken from the corresponding fields in the structure pointed to by .Fa buf . This operation can only be executed by the super-user, or a process that -has an effective user id equal to either +has an effective user ID equal to either .Va msg_perm.cuid or .Va msg_perm.uid diff --git a/lib/libc/sys/semctl.2 b/lib/libc/sys/semctl.2 index 6332d596611..1b4b8c1c702 100644 --- a/lib/libc/sys/semctl.2 +++ b/lib/libc/sys/semctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: semctl.2,v 1.8 1999/05/27 14:05:10 aaron Exp $ +.\" $OpenBSD: semctl.2,v 1.9 1999/06/05 04:16:08 aaron Exp $ .\" $NetBSD: semctl.2,v 1.2 1997/03/27 08:20:40 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -147,7 +147,7 @@ The values are taken from the corresponding fields in the structure pointed to by .Fa arg.buf . This operation can only be executed by the super-user, or a process that -has an effective user id equal to either +has an effective user ID equal to either .Va sem_perm.cuid or .Va sem_perm.uid diff --git a/lib/libc/sys/shmctl.2 b/lib/libc/sys/shmctl.2 index df75ce5008c..4e1bf42ca80 100644 --- a/lib/libc/sys/shmctl.2 +++ b/lib/libc/sys/shmctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: shmctl.2,v 1.8 1999/05/27 14:05:10 aaron Exp $ +.\" $OpenBSD: shmctl.2,v 1.9 1999/06/05 04:16:08 aaron Exp $ .\" $NetBSD: shmctl.2,v 1.3 1997/03/27 08:20:39 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -116,7 +116,7 @@ The values are taken from the corresponding fields in the structure pointed to by .Fa buf . This operation can only be executed by the super-user, or a process that -has an effective user id equal to either +has an effective user ID equal to either .Va shm_perm.cuid or .Va shm_perm.uid diff --git a/lib/libc_r/man/pthread_cond_init.3 b/lib/libc_r/man/pthread_cond_init.3 index 664f6207ab7..cb86792401a 100644 --- a/lib/libc_r/man/pthread_cond_init.3 +++ b/lib/libc_r/man/pthread_cond_init.3 @@ -42,11 +42,13 @@ function creates a new condition variable, with attributes specified with .Fa attr . If .Fa attr -is NULL the default attributes are used. +is +.Dv NULL +the default attributes are used. .Sh RETURN VALUES If successful, the .Fn pthread_cond_init -function will return zero and put the new condition variable id into +function will return zero and put the new condition variable ID into .Fa cond , otherwise an error number will be returned to indicate the error. .Sh ERRORS diff --git a/lib/libc_r/man/pthread_mutex_init.3 b/lib/libc_r/man/pthread_mutex_init.3 index f6d89be4e9f..6fe4cd858e4 100644 --- a/lib/libc_r/man/pthread_mutex_init.3 +++ b/lib/libc_r/man/pthread_mutex_init.3 @@ -42,11 +42,13 @@ function creates a new mutex, with attributes specified with .Fa attr . If .Fa attr -is NULL the default attributes are used. +is +.Dv NULL +the default attributes are used. .Sh RETURN VALUES If successful, .Fn pthread_mutex_init -will return zero and put the new mutex id into +will return zero and put the new mutex ID into .Fa mutex , otherwise an error number will be returned to indicate the error. .Sh ERRORS diff --git a/lib/libkvm/kvm_getprocs.3 b/lib/libkvm/kvm_getprocs.3 index 180bf56ee7d..5d64b8c6070 100644 --- a/lib/libkvm/kvm_getprocs.3 +++ b/lib/libkvm/kvm_getprocs.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: kvm_getprocs.3,v 1.3 1996/05/26 01:04:36 deraadt Exp $ +.\" $OpenBSD: kvm_getprocs.3,v 1.4 1999/06/05 04:16:08 aaron Exp $ .\" $NetBSD: kvm_getprocs.3,v 1.3 1996/05/20 16:58:03 mrg Exp $ .\" .\" Copyright (c) 1992, 1993 @@ -60,7 +60,7 @@ .Sh DESCRIPTION .Fn kvm_getprocs returns a (sub-)set of active processes in the kernel indicated by -.Fa kd. +.Fa kd . The .Fa op and @@ -74,7 +74,7 @@ describes the filtering predicate as follows: .It Sy KERN_PROC_ALL all processes .It Sy KERN_PROC_PID -processes with process id +processes with process ID .Fa arg .It Sy KERN_PROC_PGRP processes with process group @@ -86,10 +86,10 @@ processes with session processes with tty .Fa arg .It Sy KERN_PROC_UID -processes with effective user id +processes with effective user ID .Fa arg .It Sy KERN_PROC_RUID -processes with real user id +processes with real user ID .Fa arg .El .Pp @@ -111,7 +111,9 @@ Most likely, these arguments correspond to the values passed to on process creation. This information is, however, deliberately under control of the process itself. Note that the original command name can be found, unaltered, -in the p_comm field of the process structure returned by +in the +.Fa p_comm +field of the process structure returned by .Fn kvm_getprocs . .Pp The diff --git a/lib/libpthread/man/pthread_cond_init.3 b/lib/libpthread/man/pthread_cond_init.3 index 664f6207ab7..cb86792401a 100644 --- a/lib/libpthread/man/pthread_cond_init.3 +++ b/lib/libpthread/man/pthread_cond_init.3 @@ -42,11 +42,13 @@ function creates a new condition variable, with attributes specified with .Fa attr . If .Fa attr -is NULL the default attributes are used. +is +.Dv NULL +the default attributes are used. .Sh RETURN VALUES If successful, the .Fn pthread_cond_init -function will return zero and put the new condition variable id into +function will return zero and put the new condition variable ID into .Fa cond , otherwise an error number will be returned to indicate the error. .Sh ERRORS diff --git a/lib/libpthread/man/pthread_mutex_init.3 b/lib/libpthread/man/pthread_mutex_init.3 index f6d89be4e9f..6fe4cd858e4 100644 --- a/lib/libpthread/man/pthread_mutex_init.3 +++ b/lib/libpthread/man/pthread_mutex_init.3 @@ -42,11 +42,13 @@ function creates a new mutex, with attributes specified with .Fa attr . If .Fa attr -is NULL the default attributes are used. +is +.Dv NULL +the default attributes are used. .Sh RETURN VALUES If successful, .Fn pthread_mutex_init -will return zero and put the new mutex id into +will return zero and put the new mutex ID into .Fa mutex , otherwise an error number will be returned to indicate the error. .Sh ERRORS diff --git a/lib/libutil/uucplock.3 b/lib/libutil/uucplock.3 index 5bb1fa51e08..ecf3d07d14f 100644 --- a/lib/libutil/uucplock.3 +++ b/lib/libutil/uucplock.3 @@ -21,7 +21,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id: uucplock.3,v 1.2 1998/06/08 20:28:29 brian Exp $ +.\" $Id: uucplock.3,v 1.3 1999/06/05 04:16:08 aaron Exp $ .\" " .Dd March 30, 1997 .Os @@ -59,9 +59,9 @@ If the file already exists, it is expected to contain the process id of the locking program. .Pp If the file does not already exist, or the owning process given by -the process id found in the lock file is no longer running, +the process ID found in the lock file is no longer running, .Fn uu_lock -will write its own process id into the file and return success. +will write its own process ID into the file and return success. .Pp .Fn uu_lock_txfr transfers lock ownership to another process. @@ -109,7 +109,7 @@ Can't create temporary lock file via .Xr creat 2 . .Pp .Dv UU_LOCK_WRITE_ERR: -The current process id could not be written to the lock file via a call to +The current process ID could not be written to the lock file via a call to .Xr write 2 . .Pp .Dv UU_LOCK_LINK_ERR: @@ -147,7 +147,7 @@ lock. The current process does not already own a lock on the specified device. .Pp .Dv UU_LOCK_WRITE_ERR: -The new process id could not be written to the lock file via a call to +The new process ID could not be written to the lock file via a call to .Xr write 2 . .Sh ERRORS If @@ -171,7 +171,7 @@ for further details. .Xr write 2 .Sh BUGS It is possible that a stale lock is not recognised as such if a new -processes is assigned the same processes id as the program that left +process is assigned the same process ID as the program that left the stale lock. .Pp The calling process must have write permissions to the |