summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-05-07 08:52:44 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-05-07 08:52:44 +0000
commitcec4fba2d68884e9da4662a55153a523a76eb5f2 (patch)
tree5a14240515d8beb86153afa7864525814a1081a5 /lib
parenta0836261c0d5a37e932b50e3aeb58b307b7c6c6c (diff)
typos;
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/compat-43/sigvec.34
-rw-r--r--lib/libc/db/man/dbopen.36
-rw-r--r--lib/libc/db/man/recno.310
-rw-r--r--lib/libc/ohash/ohash_init.38
-rw-r--r--lib/libc/posix1e/posix1e.311
-rw-r--r--lib/libc/rpc/rpc.323
-rw-r--r--lib/libc/termios/tcsetattr.310
-rw-r--r--lib/libc/time/ctime.36
-rw-r--r--lib/libc/time/strptime.314
-rw-r--r--lib/libc/time/time2posix.38
-rw-r--r--lib/libc/yp/ypclnt.38
11 files changed, 59 insertions, 49 deletions
diff --git a/lib/libc/compat-43/sigvec.3 b/lib/libc/compat-43/sigvec.3
index c5ba9739e48..a7c242cb1b6 100644
--- a/lib/libc/compat-43/sigvec.3
+++ b/lib/libc/compat-43/sigvec.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: sigvec.3,v 1.21 2002/11/10 03:21:48 fgsch Exp $
+.\" $OpenBSD: sigvec.3,v 1.22 2003/05/07 08:52:43 jmc Exp $
.\"
.Dd April 29, 1991
.Dt SIGVEC 3
@@ -182,7 +182,7 @@ specified with
If a signal is caught during the system calls listed below,
the call may be restarted,
the call may return with a data transfer shorter than requested,
-or the call may forced to terminate
+or the call may be forced to terminate
with the error
.Er EINTR .
Interrupting of pending calls is requested
diff --git a/lib/libc/db/man/dbopen.3 b/lib/libc/db/man/dbopen.3
index 9673d5785d2..8bde544ec0d 100644
--- a/lib/libc/db/man/dbopen.3
+++ b/lib/libc/db/man/dbopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dbopen.3,v 1.18 2001/08/06 10:42:25 mpech Exp $
+.\" $OpenBSD: dbopen.3,v 1.19 2003/05/07 08:52:42 jmc Exp $
.\" $NetBSD: dbopen.3,v 1.6 1995/02/27 13:23:25 cgd Exp $
.\"
.\" Copyright (c) 1997, Phillip F Knaack. All rights reserved.
@@ -542,9 +542,9 @@ for any of the errors specified for the library routine
The typedef DBT is a mnemonic for
.Dq data base thang ,
and was used
-because noone could think of a reasonable name that wasn't already used.
+because no one could think of a reasonable name that wasn't already used.
.Pp
-The file descriptor interface is a kluge and will be deleted in a
+The file descriptor interface is a kludge and will be deleted in a
future version of the interface.
.Pp
None of the access methods provide any form of concurrent access,
diff --git a/lib/libc/db/man/recno.3 b/lib/libc/db/man/recno.3
index 20af91bfc99..71c3c25ba17 100644
--- a/lib/libc/db/man/recno.3
+++ b/lib/libc/db/man/recno.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: recno.3,v 1.12 2002/05/01 08:03:29 mpech Exp $
+.\" $OpenBSD: recno.3,v 1.13 2003/05/07 08:52:43 jmc Exp $
.\" $NetBSD: recno.3,v 1.6 1996/05/03 21:26:51 cgd Exp $
.\"
.\" Copyright (c) 1997, Phillip F Knaack. All rights reserved.
@@ -67,7 +67,9 @@ The
.Nm
access method specific data structure provided to
.Fn dbopen
-is defined in the <db.h> include file as follows:
+is defined in the
+.Aq Pa db.h
+include file as follows:
.Pp
.Bl -item -compact
.It
@@ -176,7 +178,9 @@ The
.Fa data
field of the key should be a pointer to a memory location of type
.Ft recno_t ,
-as defined in the <db.h> include file.
+as defined in the
+.Aq Pa db.h
+include file.
This type is normally the largest unsigned integral type available to
the implementation.
The
diff --git a/lib/libc/ohash/ohash_init.3 b/lib/libc/ohash/ohash_init.3
index 19b6354ed1c..ded763b3ec2 100644
--- a/lib/libc/ohash/ohash_init.3
+++ b/lib/libc/ohash/ohash_init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ohash_init.3,v 1.5 2002/07/01 07:48:28 espie Exp $
+.\" $OpenBSD: ohash_init.3,v 1.6 2003/05/07 08:52:43 jmc Exp $
.\"
.\" Copyright (c) 1999 Marc Espie.
.\"
@@ -71,7 +71,7 @@ They provide storage and retrieval of records indexed by keys,
where a key is a contiguous sequence of bytes at a fixed position in
each record.
Keys can either be null-terminated strings or fixed-size memory areas.
-All functions take a pointer to a ohash structure as the
+All functions take a pointer to an ohash structure as the
.Fa h
function argument.
Storage for this structure should be provided by user code.
@@ -166,7 +166,7 @@ if the slot was empty.
.Fn ohash_first
and
.Fn ohash_next
-can be used to access all elements in a ohash table, like this:
+can be used to access all elements in an ohash table, like this:
.Pp
.Bd -literal
for (n = ohash_first(h, &i); n != NULL; n = ohash_next(h, &i))
@@ -191,7 +191,7 @@ Only
and
.Fn ohash_delete
may call the user-supplied memory functions.
-It is the responsability of the user memory allocation code to verify
+It is the responsibility of the user memory allocation code to verify
that those calls did not fail.
.Pp
If memory allocation fails,
diff --git a/lib/libc/posix1e/posix1e.3 b/lib/libc/posix1e/posix1e.3
index de88b5a26de..51da3848623 100644
--- a/lib/libc/posix1e/posix1e.3
+++ b/lib/libc/posix1e/posix1e.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: posix1e.3,v 1.5 2002/05/01 08:03:29 mpech Exp $
+.\" $OpenBSD: posix1e.3,v 1.6 2003/05/07 08:52:43 jmc Exp $
.\"
.\" Copyright (c) 2000 Robert N. M. Watson
.\" All rights reserved.
@@ -52,16 +52,17 @@ support for POSIX.1e interfaces and features is still under
development at this time.
.Sh ENVIRONMENT
POSIX.1e assigns security labels to all objects, extending the security
-functionality described in POSIX.1. These additional labels provide
-fine-grained discretionary access control, fine-grained capabilities,
+functionality described in POSIX.1.
+These additional labels provide fine-grained discretionary access control,
+fine-grained capabilities,
and labels necessary for mandatory access control.
POSIX.2c describes
a set of userland utilities for manipulating these labels.
.Sh SEE ALSO
.Xr extattr 9
.Sh STANDARDS
-POSIX.1e is described in IEEE POSIX.1e draft 17. Discussion
-of the draft continues on the cross-platform POSIX.1e implementation
+POSIX.1e is described in IEEE POSIX.1e draft 17.
+Discussion of the draft continues on the cross-platform POSIX.1e implementation
mailing list.
To join this list, see the
.Ox
diff --git a/lib/libc/rpc/rpc.3 b/lib/libc/rpc/rpc.3
index a5f516f46b7..291cf8f3448 100644
--- a/lib/libc/rpc/rpc.3
+++ b/lib/libc/rpc/rpc.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rpc.3,v 1.30 2003/03/17 09:52:21 jmc Exp $
+.\" $OpenBSD: rpc.3,v 1.31 2003/05/07 08:52:43 jmc Exp $
.\"
.\" Copyright (c) 1998 Theo de Raadt
.\" All rights reserved.
@@ -301,7 +301,7 @@ is used to encode the procedure's parameters, and
.Fa outproc
is used to decode the procedure's results.
This routine returns zero if it succeeds, or the value of
-.Fa enum clnt_stat"
+.Fa enum clnt_stat
cast to an integer if it fails.
The routine
.Fn clnt_perrno
@@ -479,7 +479,7 @@ to the structure at address
.Fa errp .
.Pp
.Fn clnt_pcreateerror
-print a message to standard error indicating
+prints a message to standard error indicating
why a client
.Tn RPC
handle could not be created.
@@ -529,7 +529,7 @@ takes the same arguments as
but instead of sending a message to the standard error
indicating why an
.Tn RPC
-call failed, return a pointer to a string which contains
+call failed, returns a pointer to a string which contains
the message.
Unlike
.Fn clnt_perror ,
@@ -555,7 +555,7 @@ unlike
and
.Fn clnt_spcreaterror ,
.Fn clnt_sperrno
-returns pointer to static data, but the
+returns a pointer to static data, but the
result will not get overwritten on each call.
.Pp
.Fn clnt_sperror
@@ -757,7 +757,7 @@ See also
is a user interface to the
.Xr portmap 8
service, which establishes a mapping between the triple
-.Fa [ prognum , versnum , protocol]
+.Fa [ prognum , versnum , protocol ]
and
.Fa port
on the machine's
@@ -778,7 +778,7 @@ Automatically done by
is a user interface to the
.Xr portmap 8
service, which destroys all mapping between the triple
-.Fa [ prognum , versnum , *]
+.Fa [ prognum , versnum , * ]
and
.Fa ports
on the machine's
@@ -848,7 +848,8 @@ service side's
read file descriptor bit mask.
.Fa __svc_fdsetsize
is a count of the number of checkable bits in
-.Fa __svc_fdset, and can expand to the full size that
+.Fa __svc_fdset ,
+and can expand to the full size that
.Xr select 2
supports, hence exceeding
.Fa FD_SETSIZE
@@ -880,7 +881,7 @@ Do not pass its address to
.Xr select 2 !
Instead, pass the address of a copy.
.Pp
-As well, note that if the process has descriptor limits
+Additionally, note that if the process has descriptor limits
which are extended beyond
.Fa FD_SETSIZE ,
this variable will only be usable for the first
@@ -993,7 +994,7 @@ service.
If
.Fa protocol
is non-zero, then a mapping of the triple
-.Fa [ prognum , versnum , protocol]
+.Fa [ prognum , versnum , protocol ]
to
.Fa xprt\->xp_port
is established with the local
@@ -1047,7 +1048,7 @@ This routine returns one if it succeeds, zero otherwise.
removes all mapping of the double
.Fa [ prognum , versnum ]
to dispatch routines, and of the triple
-.Fa [ prognum , versnum , *]
+.Fa [ prognum , versnum , * ]
to port number.
.Pp
.Fn svcerr_auth
diff --git a/lib/libc/termios/tcsetattr.3 b/lib/libc/termios/tcsetattr.3
index 3b348ffebc3..e8d16f11ccb 100644
--- a/lib/libc/termios/tcsetattr.3
+++ b/lib/libc/termios/tcsetattr.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tcsetattr.3,v 1.11 2002/03/26 01:36:07 hugh Exp $
+.\" $OpenBSD: tcsetattr.3,v 1.12 2003/05/07 08:52:43 jmc Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -257,7 +257,7 @@ should be used when changing parameters that affect output.
.It Dv TCSAFLUSH
The change occurs after all output written to
.Fa fd
-has been transmitted to the terminal
+has been transmitted to the terminal.
Additionally, any input that has been received but not read is discarded.
.It Dv TCSASOFT
If this value is
@@ -282,16 +282,16 @@ If zero is specified as the input speed to the function
.Fn tcsetattr ,
the input baud rate will be set to the same value as that specified by
the output baud rate.
-.Pp
+.Sh RETURN VALUES
If
.Fn tcsetattr
-is unable able to make any of the requested changes, it returns \-1 and
+is unable to make any of the requested changes, it returns \-1 and
sets
.Va errno .
Otherwise, it makes all of the requested changes it can.
If the specified input and output baud rates differ and are a combination
that is not supported, neither baud rate is changed.
-.Pp
+.Sh ERRORS
Upon successful completion, the functions
.Fn tcgetattr
and
diff --git a/lib/libc/time/ctime.3 b/lib/libc/time/ctime.3
index 6fbed611128..bb6472a98cf 100644
--- a/lib/libc/time/ctime.3
+++ b/lib/libc/time/ctime.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ctime.3,v 1.25 2003/02/14 18:24:53 millert Exp $
+.\" $OpenBSD: ctime.3,v 1.26 2003/05/07 08:52:42 jmc Exp $
.\"
.\"
.Dd February 16, 1999
@@ -115,7 +115,7 @@ and
.Fn gmtime_r
functions convert the calendar time pointed to by
.Fa clock
-into a broken-down time in exactly the same was as their non-reentrant
+into a broken-down time in exactly the same way as their non-reentrant
counterparts,
.Fn localtime
and
@@ -186,7 +186,7 @@ and
are determined.
.Fn mktime
returns the specified calendar time;
-If the calendar time cannot be represented,
+if the calendar time cannot be represented,
it returns \-1.
.Pp
.Fn timelocal
diff --git a/lib/libc/time/strptime.3 b/lib/libc/time/strptime.3
index 771bc06b8c3..ce383afb969 100644
--- a/lib/libc/time/strptime.3
+++ b/lib/libc/time/strptime.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strptime.3,v 1.7 2000/10/18 05:12:12 aaron Exp $
+.\" $OpenBSD: strptime.3,v 1.8 2003/05/07 08:52:42 jmc Exp $
.\"
.\" Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -56,7 +56,8 @@ using the format specified by
The
.Fa format
string consists of zero or more directives.
-A directive is composed of either one or more whitespace as defined by
+A directive is composed of either one or more whitespace characters as
+defined by
.Fn isspace ,
an ordinary character (neither `%' nor a whitespace), or a conversion
specification.
@@ -121,9 +122,12 @@ leading zeros are permitted but not required.
the minute [0,59];
leading zeros are permitted but not required.
.It Cm \&%n
-any whitespace
+any whitespace.
.It Cm \&%p
-the locale's equivalent of a.m. or p.m..
+the locale's equivalent of
+.Dq AM
+or
+.Dq PM .
.It Cm \&%r
the time as %I:%M:%S %p.
.It Cm \&%R
@@ -132,7 +136,7 @@ the time as %H:%M.
the seconds [0,61];
leading zeros are permitted but not required.
.It Cm \&%t
-any whitespace
+any whitespace.
.It Cm \&%T
the time as %H:%M:%S.
.It Cm \&%U
diff --git a/lib/libc/time/time2posix.3 b/lib/libc/time/time2posix.3
index 11aff5fa1c2..0d1ce76134d 100644
--- a/lib/libc/time/time2posix.3
+++ b/lib/libc/time/time2posix.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: time2posix.3,v 1.10 2000/08/09 15:56:44 aaron Exp $
+.\" $OpenBSD: time2posix.3,v 1.11 2003/05/07 08:52:42 jmc Exp $
.Dd May 24, 1999
.Dt TIME2POSIX 3
.Os
@@ -45,9 +45,9 @@ is intended to be
.Pq mostly
opaque.
.Fa time_t
-values should only be obtained-from and
-passed-to functions such as
-.Xr time 3 ,
+values should only be obtained from and
+passed to functions such as
+.Xr time 3 ,
.Xr localtime 3 ,
.Xr mktime 3 ,
and
diff --git a/lib/libc/yp/ypclnt.3 b/lib/libc/yp/ypclnt.3
index 1d763e41c2d..ec88ec5768d 100644
--- a/lib/libc/yp/ypclnt.3
+++ b/lib/libc/yp/ypclnt.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ypclnt.3,v 1.14 2002/09/04 10:14:38 deraadt Exp $
+.\" $OpenBSD: ypclnt.3,v 1.15 2003/05/07 08:52:43 jmc Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -257,13 +257,13 @@ Where:
.Bl -tag -width "inkey, inval"
.It Fa instatus
Holds one of the return status values described in
-.Nm <rpcsvc/yp_prot.h> :
+.Aq Pa rpcsvc/yp_prot.h :
see
.Fn ypprot_err
below for a function that will translate YP protocol errors into a
.Nm ypclnt
layer error code as described in
-.Nm <rpcsvc/ypclnt.h> .
+.Aq Pa rpcsvc/ypclnt.h .
.It Fa inkey, inval
The key and value arguments are somewhat different here than described
above.
@@ -318,7 +318,7 @@ suite which are of type
return 0 upon success or one of the following error codes upon failure:
.Bl -tag -width "YPERR_BADARGS "
.It Bq Er YPERR_BADARGS
-The passed arguments to the function are invalid
+The passed arguments to the function are invalid.
.It Bq Er YPERR_BADDB
The YP map that was polled is defective.
.It Bq Er YPERR_DOMAIN