summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-06-05 04:47:43 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-06-05 04:47:43 +0000
commitb770acff37c9a862b04d7c262e6707d1f9416026 (patch)
tree80e86c277a70de5e0437ffb9ca88b1b1428609dc /lib/libc/sys
parent62904c50d3efc697f9b77565763bb45eb60c6607 (diff)
use .Tn instead of .Em for logical/bitwise OR + AND
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/access.27
-rw-r--r--lib/libc/sys/chflags.24
-rw-r--r--lib/libc/sys/mmap.24
-rw-r--r--lib/libc/sys/msync.24
-rw-r--r--lib/libc/sys/open.24
-rw-r--r--lib/libc/sys/recv.24
-rw-r--r--lib/libc/sys/rfork.228
-rw-r--r--lib/libc/sys/semget.24
-rw-r--r--lib/libc/sys/wait.26
9 files changed, 36 insertions, 29 deletions
diff --git a/lib/libc/sys/access.2 b/lib/libc/sys/access.2
index 2eeaa6321f3..4f774189ce5 100644
--- a/lib/libc/sys/access.2
+++ b/lib/libc/sys/access.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: access.2,v 1.5 1999/05/23 14:10:50 aaron Exp $
+.\" $OpenBSD: access.2,v 1.6 1999/06/05 04:47:41 aaron Exp $
.\" $NetBSD: access.2,v 1.7 1995/02/27 12:31:44 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -54,8 +54,9 @@ for the access permissions indicated by
.Fa mode .
The value of
.Fa mode
-is the bitwise inclusive OR of the access permissions to be
-checked
+is the bitwise inclusive
+.Tn OR
+of the access permissions to be checked
.Pf ( Dv R_OK
for read permission,
.Dv W_OK
diff --git a/lib/libc/sys/chflags.2 b/lib/libc/sys/chflags.2
index d02ff7cd6f2..fcd8f03cb9d 100644
--- a/lib/libc/sys/chflags.2
+++ b/lib/libc/sys/chflags.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chflags.2,v 1.10 1999/05/27 16:20:59 aaron Exp $
+.\" $OpenBSD: chflags.2,v 1.11 1999/06/05 04:47:42 aaron Exp $
.\" $NetBSD: chflags.2,v 1.6 1995/02/27 12:32:03 cgd Exp $
.\"
.\" Copyright (c) 1989, 1993
@@ -58,7 +58,7 @@ has its flags changed to
.Fa flags .
.Pp
The flags specified are formed by
-.Em OR Ns 'ing
+.Tn OR Ns 'ing
the following values
.Pp
.Bl -tag -width "SF_IMMUTABLE" -compact -offset indent
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2
index 267e04856f6..f97259a8cea 100644
--- a/lib/libc/sys/mmap.2
+++ b/lib/libc/sys/mmap.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mmap.2,v 1.14 1999/05/30 02:26:09 pjanzen Exp $
+.\" $OpenBSD: mmap.2,v 1.15 1999/06/05 04:47:42 aaron Exp $
.\" $NetBSD: mmap.2,v 1.5 1995/06/24 10:48:59 cgd Exp $
.\"
.\" Copyright (c) 1991, 1993
@@ -79,7 +79,7 @@ deletes any previous mapping in the allocated address range.
The protections (region accessibility) are specified in the
.Fa prot
argument by
-.Em OR Ns 'ing
+.Tn OR Ns 'ing
the following values:
.Pp
.Bl -tag -width MAP_FIXEDX
diff --git a/lib/libc/sys/msync.2 b/lib/libc/sys/msync.2
index ca1a3859ddc..b687ae3f077 100644
--- a/lib/libc/sys/msync.2
+++ b/lib/libc/sys/msync.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: msync.2,v 1.13 1999/05/27 20:49:36 aaron Exp $
+.\" $OpenBSD: msync.2,v 1.14 1999/06/05 04:47:42 aaron Exp $
.\" $NetBSD: msync.2,v 1.8 1995/10/12 15:41:09 jtc Exp $
.\"
.\" Copyright (c) 1991, 1993
@@ -74,7 +74,7 @@ are unpredictable except after an
The
.Fa flags
argument is formed by
-.Em OR Ns 'ing
+.Tn OR Ns 'ing
the following values
.Pp
.Bd -literal -offset indent -compact
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index be8fa078376..74106b46461 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: open.2,v 1.11 1999/05/27 16:21:00 aaron Exp $
+.\" $OpenBSD: open.2,v 1.12 1999/06/05 04:47:42 aaron Exp $
.\" $NetBSD: open.2,v 1.8 1995/02/27 12:35:14 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -65,7 +65,7 @@ and modified by the process' umask value (see
.Xr umask 2 ) .
.Pp
The flags specified are formed by
-.Em OR Ns 'ing
+.Tn OR Ns 'ing
the following values
.Pp
.Bd -literal -offset indent -compact
diff --git a/lib/libc/sys/recv.2 b/lib/libc/sys/recv.2
index ec2274930ef..e79b568bfe5 100644
--- a/lib/libc/sys/recv.2
+++ b/lib/libc/sys/recv.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: recv.2,v 1.17 1999/05/27 16:21:00 aaron Exp $
+.\" $OpenBSD: recv.2,v 1.18 1999/06/05 04:47:42 aaron Exp $
.\" $NetBSD: recv.2,v 1.6 1995/02/27 12:36:08 cgd Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
@@ -115,7 +115,7 @@ call may be used to determine when more data arrive.
The
.Fa flags
argument to a recv call is formed by
-.Em OR Ns ing
+.Tn OR Ns ing
one or more of the values:
.Bl -column MSG_WAITALL -offset indent
.It Dv MSG_OOB Ta process out-of-band data
diff --git a/lib/libc/sys/rfork.2 b/lib/libc/sys/rfork.2
index 332f4dedae9..0b2a0062086 100644
--- a/lib/libc/sys/rfork.2
+++ b/lib/libc/sys/rfork.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rfork.2,v 1.11 1999/05/16 19:55:35 alex Exp $
+.\" $OpenBSD: rfork.2,v 1.12 1999/06/05 04:47:42 aaron Exp $
.\"
.\" This manual page is taken directly from Plan9, and modified to
.\" describe the actual OpenBSD implementation. Permission for
@@ -30,29 +30,33 @@ the open file descriptor table (which, when shared, permits processes
to open and close files for other processes),
and open files.
.Fa flags
-is the logical OR of some subset of
+is the logical
+.Tn OR
+of some subset of
.Bl -tag -width "RFCNAMEG" -compact -offset indent
-.It RFPROC
+.It Dv RFPROC
If set a new process is created; otherwise changes affect the
current process.
The current implementation requires this flag to always be set.
-.It RFNOWAIT
+.It Dv RFNOWAIT
If set, the child process will be dissociated from the parent. Upon
exit the child will not leave a status for the parent to collect.
See
.Xr wait 2 .
-.It RFNAMEG, RFCNAMEG, RFENVG, RFCENVG, RFNOTEG
+.It Xo Dv RFNAMEG , Dv RFCNAMEG ,
+.Dv RFENVG , Dv RFCENVG , Dv RFNOTEG
+.Xc
These are Plan 9 specific flags, and not implemented.
-.It RFFDG
+.It Dv RFFDG
If set, the invoker's file descriptor table (see
-.Xr intro 2
-) is copied; otherwise the two processes share a
+.Xr intro 2 )
+is copied; otherwise the two processes share a
single table.
-.It RFCFDG
+.It Dv RFCFDG
If set, the new process starts with a clean file descriptor table.
Is mutually exclusive with
.Dv RFFDG .
-.It RFMEM
+.It Dv RFMEM
If set, the kernel will force sharing of the entire address space.
The child
will then inherit all the shared segments the parent process owns. Other segment
@@ -70,13 +74,13 @@ If
.Dv RFPROC
is set, the
value returned in the parent process
-is the process id
+is the process ID
of the child process; the value returned in the child is zero.
Without
.Dv RFPROC ,
the return value is zero.
Process ids range from 1 to the maximum integer
-.Ft ( int )
+.Li int
value.
.Fn rfork
will sleep, if necessary, until required process resources are available.
diff --git a/lib/libc/sys/semget.2 b/lib/libc/sys/semget.2
index ed08ec7c308..b8646815175 100644
--- a/lib/libc/sys/semget.2
+++ b/lib/libc/sys/semget.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: semget.2,v 1.8 1999/05/27 16:21:00 aaron Exp $
+.\" $OpenBSD: semget.2,v 1.9 1999/06/05 04:47:42 aaron Exp $
.\" $NetBSD: semget.2,v 1.2 1997/03/27 08:20:41 mikel Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -64,7 +64,7 @@ bit is set in
The access modes of the created semaphores is specified in
.Fa semflg
by
-.Em OR Ns 'ing
+.Tn OR Ns 'ing
the following values:
.Pp
.Bd -literal -offset indent -compact
diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2
index 937da89176f..cc250fec7eb 100644
--- a/lib/libc/sys/wait.2
+++ b/lib/libc/sys/wait.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wait.2,v 1.7 1999/05/23 14:10:57 aaron Exp $
+.\" $OpenBSD: wait.2,v 1.8 1999/06/05 04:47:42 aaron Exp $
.\" $NetBSD: wait.2,v 1.6 1995/02/27 12:39:37 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
@@ -104,7 +104,9 @@ The
.Fa status
parameter is defined below. The
.Fa options
-parameter contains the bitwise OR of any of the following options.
+parameter contains the bitwise
+.Tn OR
+of any of the following options.
The
.Dv WNOHANG
option