summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-02-25 08:26:39 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-02-25 08:26:39 +0000
commit4b5c15322a076129905bf6753139b0b8d4e6f324 (patch)
treea8a4b2ca068d2b15f290b05ad48274c64248cc03 /lib/libc/sys
parent1789d28925a1de801286214ec0b73d7f78006412 (diff)
typos;
intro(2): help deraadt@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/_exit.24
-rw-r--r--lib/libc/sys/accept.24
-rw-r--r--lib/libc/sys/intro.210
-rw-r--r--lib/libc/sys/ktrace.24
-rw-r--r--lib/libc/sys/mlock.23
5 files changed, 13 insertions, 12 deletions
diff --git a/lib/libc/sys/_exit.2 b/lib/libc/sys/_exit.2
index 30a52c59c6d..c56dc32e4ce 100644
--- a/lib/libc/sys/_exit.2
+++ b/lib/libc/sys/_exit.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: _exit.2,v 1.12 2002/11/10 03:21:48 fgsch Exp $
+.\" $OpenBSD: _exit.2,v 1.13 2003/02/25 08:26:38 jmc Exp $
.\" $NetBSD: _exit.2,v 1.6 1995/02/27 12:31:34 cgd Exp $
.\"
.\" Copyright (c) 1980, 1993
@@ -64,7 +64,7 @@ is set as defined by
.Xr wait 2 .
(Note that typically only the lower 8 bits of
.Fa status
-is passed on to the parent, thus negative values have less meaning.)
+are passed on to the parent, thus negative values have less meaning.)
.It
The parent process ID of all of the calling process's existing child
processes are set to 1; the initialization process (see the
diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2
index 5f4932e060a..483bc69a252 100644
--- a/lib/libc/sys/accept.2
+++ b/lib/libc/sys/accept.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: accept.2,v 1.13 2001/11/02 22:34:21 jj Exp $
+.\" $OpenBSD: accept.2,v 1.14 2003/02/25 08:26:38 jmc Exp $
.\" $NetBSD: accept.2,v 1.7 1996/01/31 20:14:42 mycroft Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
@@ -122,7 +122,7 @@ request.
Similarly, one can provide user connection rejection information
by issuing a
.Xr sendmsg 2
-call with providing only the control information, or by calling
+call providing only the control information, or by calling
.Xr setsockopt 2 .
.Sh RETURN VALUES
The call returns \-1 on error.
diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2
index a16452d5487..a8747b8b507 100644
--- a/lib/libc/sys/intro.2
+++ b/lib/libc/sys/intro.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: intro.2,v 1.25 2002/08/11 16:50:26 aaron Exp $
+.\" $OpenBSD: intro.2,v 1.26 2003/02/25 08:26:38 jmc Exp $
.\" $NetBSD: intro.2,v 1.6 1995/02/27 12:33:41 cgd Exp $
.\"
.\" Copyright (c) 1980, 1983, 1986, 1991, 1993
@@ -168,7 +168,7 @@ or
function).
.It Er 23 ENFILE Em "Too many open files in system" .
Maximum number of file descriptors allowable on the system
-has been reached and a requests for an open cannot be satisfied
+has been reached and a request for an open cannot be satisfied
until at least one has been closed.
.It Er 24 EMFILE Em "Too many open files" .
(As released, the limit on the number of
@@ -204,7 +204,7 @@ An
function was issued on a socket, pipe or
.Tn FIFO .
.It Er 30 EROFS Em "Read-only file system" .
-An attempt was made to modify a file or directory was made
+An attempt was made to modify a file or create a directory
on a file system that was read-only at the time.
.It Er 31 EMLINK Em "Too many links" .
Maximum allowable hard links to a single file has been exceeded (limit
@@ -304,7 +304,7 @@ or
request on a connected socket specified a destination
when already connected.
.It Er 57 ENOTCONN Em "Socket is not connected" .
-An request to send or receive data was disallowed because
+A request to send or receive data was disallowed because
the socket was not connected and (when sending on a datagram socket)
no address was supplied.
.It Er 58 ESHUTDOWN Em "Cannot send after socket shutdown" .
@@ -399,7 +399,7 @@ An authentication ticket must be obtained before the given
.Tn NFS
filesystem may be mounted.
.It Er 82 EIPSEC Em "IPsec processing failure" .
-IPsec subsystem error,
+IPsec subsystem error.
Not used in
.Ox .
.It Er 83 ENOATTR Em "Attribute not found" .
diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2
index 01a700b0efb..5eea03d33af 100644
--- a/lib/libc/sys/ktrace.2
+++ b/lib/libc/sys/ktrace.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ktrace.2,v 1.11 2002/06/06 15:41:46 mpech Exp $
+.\" $OpenBSD: ktrace.2,v 1.12 2003/02/25 08:26:38 jmc Exp $
.\" $NetBSD: ktrace.2,v 1.2 1995/02/27 12:33:58 cgd Exp $
.\"
.\" Copyright (c) 1993
@@ -134,7 +134,7 @@ bytes of a
.Fa ktr_type
record.
The type specific records are defined in the
-.Pa <sys/ktrace.h>
+.Aq Pa sys/ktrace.h
include file.
.Sh RETURN VALUES
On successful completion a value of 0 is returned.
diff --git a/lib/libc/sys/mlock.2 b/lib/libc/sys/mlock.2
index 90929ac3cb3..93536b36297 100644
--- a/lib/libc/sys/mlock.2
+++ b/lib/libc/sys/mlock.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mlock.2,v 1.11 2001/03/09 15:15:20 art Exp $
+.\" $OpenBSD: mlock.2,v 1.12 2003/02/25 08:26:38 jmc Exp $
.\" $NetBSD: mlock.2,v 1.3 1995/06/24 10:42:03 cgd Exp $
.\"
.\" Copyright (c) 1993
@@ -124,6 +124,7 @@ limit for locked memory.
Some portion of the indicated address range is not allocated.
There was an error faulting/mapping a page.
.El
+.Pp
.Fn munlock
will fail if:
.Bl -tag -width Er