summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-02-27 07:55:35 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-02-27 07:55:35 +0000
commitf36e6664ef5b0b95c9d20b486bdaa90d50793a2f (patch)
tree7f42aa1dff02c4d174417573ba13d5059cc2a8b8 /lib/libc/sys
parent20a38f7751c32178609e61903526ddaa7a1e5544 (diff)
typos;
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/mount.23
-rw-r--r--lib/libc/sys/msgrcv.24
-rw-r--r--lib/libc/sys/msgsnd.217
-rw-r--r--lib/libc/sys/nanosleep.24
-rw-r--r--lib/libc/sys/nfssvc.24
-rw-r--r--lib/libc/sys/pathconf.24
-rw-r--r--lib/libc/sys/poll.24
-rw-r--r--lib/libc/sys/ptrace.27
8 files changed, 25 insertions, 22 deletions
diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2
index 4ed2779fe91..7b05c4b877c 100644
--- a/lib/libc/sys/mount.2
+++ b/lib/libc/sys/mount.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount.2,v 1.22 2002/04/23 18:55:43 espie Exp $
+.\" $OpenBSD: mount.2,v 1.23 2003/02/27 07:55:34 jmc Exp $
.\" $NetBSD: mount.2,v 1.12 1996/02/29 23:47:48 jtc Exp $
.\"
.\" Copyright (c) 1980, 1989, 1993
@@ -192,6 +192,7 @@ struct msdosfs_args {
#define MSDOSFSMNT_NOWIN95 4 /* Completely ignore Win95 entries */
#define MSDOSFSMNT_GEMDOSFS 8 /* This is a gemdos-flavour */
.Ed
+.Pp
.Dv MOUNT_NFS
.Bd -literal -offset indent -compact
struct nfs_args {
diff --git a/lib/libc/sys/msgrcv.2 b/lib/libc/sys/msgrcv.2
index e583a76d626..6fd8a0ca8c2 100644
--- a/lib/libc/sys/msgrcv.2
+++ b/lib/libc/sys/msgrcv.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: msgrcv.2,v 1.10 2001/08/06 10:42:26 mpech Exp $
+.\" $OpenBSD: msgrcv.2,v 1.11 2003/02/27 07:55:34 jmc Exp $
.\" $NetBSD: msgrcv.2,v 1.2 1997/03/27 08:20:37 mikel Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -164,7 +164,7 @@ will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
.Fa msqid
-is not a valid message queue identifier
+is not a valid message queue identifier.
.Pp
The message queue was removed while
.Fn msgrcv
diff --git a/lib/libc/sys/msgsnd.2 b/lib/libc/sys/msgsnd.2
index 8e7e524b07b..dc0ea973342 100644
--- a/lib/libc/sys/msgsnd.2
+++ b/lib/libc/sys/msgsnd.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: msgsnd.2,v 1.9 2001/08/06 10:42:26 mpech Exp $
+.\" $OpenBSD: msgsnd.2,v 1.10 2003/02/27 07:55:34 jmc Exp $
.\" $NetBSD: msgsnd.2,v 1.2 1997/03/27 08:20:36 mikel Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
@@ -48,7 +48,7 @@ The
function sends a message from the message queue specified in
.Fa msqid .
.Fa msgp
-points to a structuer containing the message.
+points to a structure containing the message.
This structure should consist of the following members:
.Bd -literal
long mtype; /* message type */
@@ -64,10 +64,11 @@ is an array of bytes, with a size up to that of the system limit
.Pp
If the number of bytes already on the message queue plus
.Fa msgsz
-is bigger than the maximum number of bytes on the message queue (
-.Va msg_qbytes ,
-see
-.Xr msgctl 2 ) ,
+is bigger than the maximum number of bytes on the message queue
+.Po Va msg_qbytes ,
+ see
+.Xr msgctl 2
+.Pc ,
or the number of messages on all queues system-wide is already equal to
the system limit,
.Fa msgflg
@@ -88,7 +89,7 @@ set in it, the call will block until:
The condition which caused the call to block does no longer exist.
The message will be sent.
.It
-The messag queue is removed, in which case \-1 will be returned, and
+The message queue is removed, in which case \-1 will be returned, and
.Va errno
is set to
.Er EINVAL .
@@ -127,7 +128,7 @@ will fail if:
.Bl -tag -width Er
.It Bq Er EINVAL
.Fa msqid
-is not a valid message queue identifier
+is not a valid message queue identifier.
.Pp
The message queue was removed while
.Fn msgsnd
diff --git a/lib/libc/sys/nanosleep.2 b/lib/libc/sys/nanosleep.2
index c6493bcb94f..4ca721572fb 100644
--- a/lib/libc/sys/nanosleep.2
+++ b/lib/libc/sys/nanosleep.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nanosleep.2,v 1.7 2000/10/18 05:12:10 aaron Exp $
+.\" $OpenBSD: nanosleep.2,v 1.8 2003/02/27 07:55:34 jmc Exp $
.\" $NetBSD: nanosleep.2,v 1.1 1997/04/17 18:12:02 jtc Exp $
.\"
.\" Copyright (c) 1986, 1991, 1993
@@ -60,7 +60,7 @@ returned will be zero.
If the
.Fn nanosleep
function returns due to the delivery of a signal, the value returned
-will be the \-1, and the global variable
+will be \-1, and the global variable
.Va errno
will be set to indicate the interruption.
If
diff --git a/lib/libc/sys/nfssvc.2 b/lib/libc/sys/nfssvc.2
index 6bff4b30ebb..8474c8a38d9 100644
--- a/lib/libc/sys/nfssvc.2
+++ b/lib/libc/sys/nfssvc.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nfssvc.2,v 1.13 2000/05/25 06:09:50 deraadt Exp $
+.\" $OpenBSD: nfssvc.2,v 1.14 2003/02/27 07:55:34 jmc Exp $
.\" $NetBSD: nfssvc.2,v 1.6 1995/02/27 12:35:08 cgd Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -173,7 +173,7 @@ will attempt to authenticate the ticket and generate a set of credentials
on the server for the user ID specified in the field nsd_uid.
This is done by first authenticating the Kerberos ticket and then mapping
the Kerberos principal to a local name and getting a set of credentials for
-that user via.
+that user via
.Xr getpwnam 3
and
.Xr getgrouplist 3 .
diff --git a/lib/libc/sys/pathconf.2 b/lib/libc/sys/pathconf.2
index a0ccd34ac33..c3812d4bfed 100644
--- a/lib/libc/sys/pathconf.2
+++ b/lib/libc/sys/pathconf.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pathconf.2,v 1.9 2002/04/30 16:31:42 mpech Exp $
+.\" $OpenBSD: pathconf.2,v 1.10 2003/02/27 07:55:34 jmc Exp $
.\" $NetBSD: pathconf.2,v 1.2 1995/02/27 12:35:22 cgd Exp $
.\"
.\" Copyright (c) 1993
@@ -81,7 +81,7 @@ The maximum file link count.
.It Dv _PC_MAX_CANON
The maximum number of bytes in a terminal canonical input line.
.It Dv _PC_MAX_INPUT
-The minimum maximum number of bytes for which space is available in
+The maximum number of bytes for which space is available in
a terminal input queue.
.It Dv _PC_NAME_MAX
The maximum number of bytes in a file name.
diff --git a/lib/libc/sys/poll.2 b/lib/libc/sys/poll.2
index aa74f5497c0..938ad5740c7 100644
--- a/lib/libc/sys/poll.2
+++ b/lib/libc/sys/poll.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: poll.2,v 1.12 2001/11/02 22:34:21 jj Exp $
+.\" $OpenBSD: poll.2,v 1.13 2003/02/27 07:55:34 jmc Exp $
.\"
.\" Copyright (c) 1994 Jason R. Thorpe
.\" All rights reserved.
@@ -173,7 +173,7 @@ will fail if:
was either a negative number or greater than the number of available
file descriptors.
.It Bq Er EINVAL
-An invalid flags was set in the
+An invalid flag was set in the
.Pa events
member of the
.Nm pollfd
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2
index 7152f1c8ae0..7fc5a98de91 100644
--- a/lib/libc/sys/ptrace.2
+++ b/lib/libc/sys/ptrace.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ptrace.2,v 1.11 2002/04/10 17:31:59 fgsch Exp $
+.\" $OpenBSD: ptrace.2,v 1.12 2003/02/27 07:55:34 jmc Exp $
.\" $NetBSD: ptrace.2,v 1.3 1996/02/23 01:39:41 jtc Exp $
.\"
.\" This file is in the public domain.
@@ -200,10 +200,11 @@ is the offset within the traced process where the I/O operation should be
made,
.Fa piod_addr
is the buffer in the parent and
-.Fa piod_len is the length of the I/O request.
+.Fa piod_len
+is the length of the I/O request.
The
.Fa piod_op
-member specifies what operation that needs to be done.
+member specifies what operation needs to be done.
Possible values are:
.Bl -tag -width 18n
.It PIOD_READ_D