summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-05-25 13:06:48 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-05-25 13:06:48 +0000
commit0192071c54290a1838194b64aaf939ebac0c0aec (patch)
tree5217c759bd36b703b17fa6504db1e09e262f1e88 /lib/libc/sys
parent2e4cdc356362d72de3c139a57e62e891a77cff8a (diff)
punctuation
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/execve.24
-rw-r--r--lib/libc/sys/kill.24
-rw-r--r--lib/libc/sys/link.24
-rw-r--r--lib/libc/sys/listen.24
-rw-r--r--lib/libc/sys/mknod.24
-rw-r--r--lib/libc/sys/msgget.24
-rw-r--r--lib/libc/sys/semget.223
-rw-r--r--lib/libc/sys/shmget.28
8 files changed, 27 insertions, 28 deletions
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2
index c31f26ab9bd..326a7e9e829 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: execve.2,v 1.9 1999/05/23 14:10:51 aaron Exp $
+.\" $OpenBSD: execve.2,v 1.10 1999/05/25 13:06:46 aaron Exp $
.\" $NetBSD: execve.2,v 1.9 1995/02/27 12:32:25 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -103,7 +103,7 @@ The argument
is also a pointer to a null-terminated array of
character pointers to null-terminated strings.
A pointer to this array is normally stored in the global variable
-.Va environ.
+.Va environ .
These strings pass information to the
new process that is not directly an argument to the command (see
.Xr environ 7 ) .
diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2
index 7b162ad06c9..04c51723f8a 100644
--- a/lib/libc/sys/kill.2
+++ b/lib/libc/sys/kill.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kill.2,v 1.7 1999/05/23 14:10:54 aaron Exp $
+.\" $OpenBSD: kill.2,v 1.8 1999/05/25 13:06:46 aaron Exp $
.\" $NetBSD: kill.2,v 1.7 1995/02/27 12:33:53 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -74,7 +74,7 @@ to any descendant of the current process.
.It \&If Fa pid No \&is greater than zero :
.Fa sig
is sent to the process whose ID is equal to
-.Fa pid.
+.Fa pid .
.It \&If Fa pid No \&is zero :
.Fa sig
is sent to all processes whose group ID is equal
diff --git a/lib/libc/sys/link.2 b/lib/libc/sys/link.2
index a13ecfa210a..06cc9286bb1 100644
--- a/lib/libc/sys/link.2
+++ b/lib/libc/sys/link.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: link.2,v 1.8 1999/05/23 14:10:54 aaron Exp $
+.\" $OpenBSD: link.2,v 1.9 1999/05/25 13:06:46 aaron Exp $
.\" $NetBSD: link.2,v 1.7 1995/02/27 12:34:01 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -107,7 +107,7 @@ does not support links.
The link count of the file named by
.Fa name1
would exceed
-.Dv {LINK_MAX}.
+.Dv LINK_MAX .
.It Bq Er EACCES
A component of either path prefix denies search permission.
.It Bq Er EACCES
diff --git a/lib/libc/sys/listen.2 b/lib/libc/sys/listen.2
index ba6d59fcb96..5a2ad35a5e0 100644
--- a/lib/libc/sys/listen.2
+++ b/lib/libc/sys/listen.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: listen.2,v 1.5 1999/05/23 14:10:54 aaron Exp $
+.\" $OpenBSD: listen.2,v 1.6 1999/05/25 13:06:46 aaron Exp $
.\" $NetBSD: listen.2,v 1.7 1996/02/16 20:38:45 phil Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -60,7 +60,7 @@ The
call applies only to sockets of type
.Dv SOCK_STREAM
or
-.Dv SOCK_SEQPACKET.
+.Dv SOCK_SEQPACKET .
.Pp
The
.Fa backlog
diff --git a/lib/libc/sys/mknod.2 b/lib/libc/sys/mknod.2
index 55ccb50fb65..5097bc7e70f 100644
--- a/lib/libc/sys/mknod.2
+++ b/lib/libc/sys/mknod.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mknod.2,v 1.5 1999/05/23 14:10:55 aaron Exp $
+.\" $OpenBSD: mknod.2,v 1.6 1999/05/25 13:06:46 aaron Exp $
.\" $NetBSD: mknod.2,v 1.6 1995/02/27 12:34:33 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -49,7 +49,7 @@ The device special file
.Fa path
is created with the major and minor
device numbers extracted from
-.Fa mode.
+.Fa mode .
The access permissions of
.Fa path
are descendant from the
diff --git a/lib/libc/sys/msgget.2 b/lib/libc/sys/msgget.2
index 38e4ab0626c..88c39c10227 100644
--- a/lib/libc/sys/msgget.2
+++ b/lib/libc/sys/msgget.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: msgget.2,v 1.4 1999/03/02 15:40:37 aaron Exp $
+.\" $OpenBSD: msgget.2,v 1.5 1999/05/25 13:06:47 aaron Exp $
.\" $NetBSD: msgget.2,v 1.1 1995/10/16 23:49:19 jtc Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -54,7 +54,7 @@ is equal to IPC_PRIVATE, or
.Fa key
does not have a message queue identifier associated with it, and the IPC_CREAT
bit is set in
-.Fa msgflg.
+.Fa msgflg .
If a new message queue is created, the data structure associated with it (the
.Va msqid_ds
diff --git a/lib/libc/sys/semget.2 b/lib/libc/sys/semget.2
index 00863ab13c5..b22f85bf4c4 100644
--- a/lib/libc/sys/semget.2
+++ b/lib/libc/sys/semget.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: semget.2,v 1.5 1998/07/20 07:37:24 deraadt Exp $
+.\" $OpenBSD: semget.2,v 1.6 1999/05/25 13:06:47 aaron Exp $
.\" $NetBSD: semget.2,v 1.2 1997/03/27 08:20:41 mikel Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -47,7 +47,7 @@ The
.Fn semget
system call returns the semaphore identifier associated with
.Fa key .
-
+.Pp
A new set containing
.Fa nsems
semaphores is created if either
@@ -56,26 +56,25 @@ is equal to IPC_PRIVATE, or
.Fa key
does not have a semaphore set associated with it and the IPC_CREAT bit is
set in
-.Fa semflg.
-
+.Fa semflg .
+.Pp
The access modes of the created semaphores is specified in
.Fa semflg
by
.Em or Ns 'ing
-the following values
+the following values:
.Pp
.Bd -literal -offset indent -compact
SEM_A alter permission for owner
SEM_R read permission for owner
-
+.Pp
SEM_A >> 3 alter permission for group
SEM_R >> 3 read permission for group
-
+.Pp
SEM_A >> 6 alter permission for other
SEM_R >> 6 read permission for other
.Ed
.Pp
-
If a new set of semaphores is created, the data structure associated with it
(the
.Va semid_ds
@@ -87,12 +86,12 @@ is intialized as follows:
.Va sem_perm.cuid
and
.Va sem_perm.uid
-are set to the effective uid of the calling process.
+are set to the effective UID of the calling process.
.It
.Va sem_perm.gid
and
.Va sem_perm.cgid
-are set to the effective gid of the calling process.
+are set to the effective GID of the calling process.
.It
.Va sem_perm.mode
is set to the lower 9 bits of
@@ -118,7 +117,7 @@ is set to reflect the error.
.Bl -tag -width Er
.It Bq Er EACCES
The caller has no permission to access a semaphore set already associated with
-.Fa key.
+.Fa key .
.It Bq Er EEXIST
Both IPC_CREAT and IPC_EXCL are set in
.Fa semflg ,
@@ -128,7 +127,7 @@ and a semaphore set is already associated with
.Va nsems
is less than 0 or greater than the system limit for the number in a semaphore
set.
-
+.Pp
A semaphore set associated with
.Fa key
exists, but has fewer semaphores than the number specified in
diff --git a/lib/libc/sys/shmget.2 b/lib/libc/sys/shmget.2
index 7b3ba520ce5..efca481c153 100644
--- a/lib/libc/sys/shmget.2
+++ b/lib/libc/sys/shmget.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: shmget.2,v 1.4 1999/03/02 15:40:37 aaron Exp $
+.\" $OpenBSD: shmget.2,v 1.5 1999/05/25 13:06:47 aaron Exp $
.\" $NetBSD: shmget.2,v 1.2 1997/03/27 08:20:39 mikel Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -46,15 +46,15 @@
.Fn shmget
returns the shared memory identifier associated with the key
.Fa key .
-
+.Pp
A shared memory segment is created if either
.Fa key
is equal to IPC_PRIVATE, or
.Fa key
does not have a shared memory segment identifier associated with it, and the IPC_CREAT
bit is set in
-.Fa shmflg.
-
+.Fa shmflg .
+.Pp
If a new shared memory segment is created, the data structure associated with it (the
.Va shmid_ds
structure, see