summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-04-30 06:28:11 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-04-30 06:28:11 +0000
commit7befef6ceed4329b6ba70f11b7eeab68cee21720 (patch)
tree822205d2c95c953797b068a0a40c79d7b1979455 /lib/libc
parentea04713a46f9426f385e40372775e237648a2352 (diff)
typos;
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/authenticate.312
-rw-r--r--lib/libc/gen/glob.36
-rw-r--r--lib/libc/gen/initgroups.34
-rw-r--r--lib/libc/gen/isgraph.34
-rw-r--r--lib/libc/gen/setjmp.36
-rw-r--r--lib/libc/gen/signal.36
-rw-r--r--lib/libc/gen/sysconf.34
-rw-r--r--lib/libc/gen/syslog.312
-rw-r--r--lib/libc/gen/usleep.34
9 files changed, 29 insertions, 29 deletions
diff --git a/lib/libc/gen/authenticate.3 b/lib/libc/gen/authenticate.3
index e6d6a4c4cc7..48db85ae034 100644
--- a/lib/libc/gen/authenticate.3
+++ b/lib/libc/gen/authenticate.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: authenticate.3,v 1.5 2002/10/15 17:27:44 millert Exp $
+.\" $OpenBSD: authenticate.3,v 1.6 2003/04/30 06:28:10 jmc Exp $
.\"
.\" Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
.\"
@@ -73,13 +73,13 @@ system
The
.Fn auth_userokay
function provides a single function call interface.
-Provided a user's name in
-.Ar name
+Provided with a user's name in
+.Ar name ,
and an optional
.Ar style ,
.Ar type ,
and
-.Ar password
+.Ar password ,
the
.Fn auth_userokay
function returns a simple yes/no response.
@@ -148,7 +148,7 @@ In any case, the user should provide a password which is
the
.Ar response
in a call to
-.Fn auth_userresponse.
+.Fn auth_userresponse .
In addition to the password, the pointer returned by
.Fn auth_userchallenge
should be passed in as
@@ -174,7 +174,7 @@ The string
will be prepended to
.Ar type
if missing.
-The resulting type is used to lookup an entry in the
+The resulting type is used to look up an entry in the
.Pa /etc/login.conf
for the user's class.
If the entry is missing the generic entry for
diff --git a/lib/libc/gen/glob.3 b/lib/libc/gen/glob.3
index 4c992c3be5d..e41031db039 100644
--- a/lib/libc/gen/glob.3
+++ b/lib/libc/gen/glob.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: glob.3,v 1.18 2002/04/30 16:31:42 mpech Exp $
+.\" $OpenBSD: glob.3,v 1.19 2003/04/30 06:28:10 jmc Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -171,7 +171,7 @@ does not match any pathname, then
returns a list
consisting of only
.Fa pattern ,
-with the number of total pathnames is set to 1, and the number of matched
+with the number of total pathnames set to 1, and the number of matched
pathnames set to 0.
.It Dv GLOB_NOESCAPE
Normally, every occurrence of a backslash
@@ -257,7 +257,7 @@ Expand patterns that start with
to user name home directories.
.It Dv GLOB_LIMIT
Limit the amount of memory used by matches to
-.Li ARG_MAX
+.Li ARG_MAX .
This option should be set for programs that can be coerced to a denial of
service attack via patterns that expand to a very large number of matches,
such as a long string of
diff --git a/lib/libc/gen/initgroups.3 b/lib/libc/gen/initgroups.3
index 611707eeaf3..d96ec1964dd 100644
--- a/lib/libc/gen/initgroups.3
+++ b/lib/libc/gen/initgroups.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: initgroups.3,v 1.10 2000/12/24 00:30:49 aaron Exp $
+.\" $OpenBSD: initgroups.3,v 1.11 2003/04/30 06:28:10 jmc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -48,7 +48,7 @@ function uses the
.Xr getgrouplist 3
function to calculate the supplementary group IDs for the user specified in
.Fa name .
-This group list then set up for the current process using
+This group list is then set up for the current process using
.Xr setgroups 2 .
The
.Fa basegid
diff --git a/lib/libc/gen/isgraph.3 b/lib/libc/gen/isgraph.3
index 872e717026b..54c04bd95d4 100644
--- a/lib/libc/gen/isgraph.3
+++ b/lib/libc/gen/isgraph.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isgraph.3,v 1.6 2001/06/25 03:24:01 pjanzen Exp $
+.\" $OpenBSD: isgraph.3,v 1.7 2003/04/30 06:28:10 jmc Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -40,7 +40,7 @@
.Os
.Sh NAME
.Nm isgraph
-.Nd printing character test (space character exculsive)
+.Nd printing character test (space character exclusive)
.Sh SYNOPSIS
.Fd #include <ctype.h>
.Ft int
diff --git a/lib/libc/gen/setjmp.3 b/lib/libc/gen/setjmp.3
index 28eec7dc9ed..dffebe79327 100644
--- a/lib/libc/gen/setjmp.3
+++ b/lib/libc/gen/setjmp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setjmp.3,v 1.15 2003/03/06 19:54:52 jmc Exp $
+.\" $OpenBSD: setjmp.3,v 1.16 2003/04/30 06:28:10 jmc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -161,10 +161,10 @@ are corrupted or correspond to an environment that has already returned,
the
.Fn longjmp
routine calls the routine
-.Fn longjmperror 3 .
+.Xr longjmperror 3 .
If
.Fn longjmperror
-returns the program is aborted (see
+returns, the program is aborted (see
.Xr abort 3 ) .
The default version of
.Fn longjmperror
diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3
index 98248f5bac4..cc403342b74 100644
--- a/lib/libc/gen/signal.3
+++ b/lib/libc/gen/signal.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: signal.3,v 1.19 2003/02/03 21:20:47 deraadt Exp $
+.\" $OpenBSD: signal.3,v 1.20 2003/04/30 06:28:10 jmc Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -281,7 +281,7 @@ Base Interfaces:
.Fn sigaddset ,
.Fn sigdelset ,
.Fn sigemptyset ,
-.Fn sigfillset ,
+.Fn sigfillset ,
.Fn sigismember ,
.Fn signal ,
.Fn sigpending ,
@@ -344,7 +344,7 @@ signal handler is undefined.
In general though, signal handlers should do little more than set a
flag; most other actions are not safe.
.Pp
-As well, inside the signal handler it is also considered more safe to
+Additionally, inside the signal handler it is also considered more safe to
make a copy the global variable
.Va errno
and restore it before returning from the signal handler.
diff --git a/lib/libc/gen/sysconf.3 b/lib/libc/gen/sysconf.3
index 4fb45df3d62..0e200a22d93 100644
--- a/lib/libc/gen/sysconf.3
+++ b/lib/libc/gen/sysconf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysconf.3,v 1.13 2003/03/06 19:54:52 jmc Exp $
+.\" $OpenBSD: sysconf.3,v 1.14 2003/04/30 06:28:10 jmc Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -55,7 +55,7 @@ The
.Fa name
argument specifies the system variable to be queried.
Symbolic constants for each name value are found in the include file
-.Li <unistd.h> .
+.Aq Pa unistd.h .
.Pp
The available values are as follows:
.Pp
diff --git a/lib/libc/gen/syslog.3 b/lib/libc/gen/syslog.3
index 45c852bdd9f..80763d59554 100644
--- a/lib/libc/gen/syslog.3
+++ b/lib/libc/gen/syslog.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: syslog.3,v 1.20 2003/01/19 23:13:04 millert Exp $
+.\" $OpenBSD: syslog.3,v 1.21 2003/04/30 06:28:10 jmc Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -122,13 +122,13 @@ The
structure is composed of the following elements:
.Bl -tag -width connected
.It Dv log_file
-contains the file descriptor of the file where the message is logged.
+contains the file descriptor of the file where the message is logged
.It Dv connected
indicates if connect has been done
.It Dv opened
indicates if
.Xr openlog_r 3
-has been called.
+has been called
.It Dv log_stat
status bits, set by
.Xr openlog_r 3
@@ -182,9 +182,9 @@ normally of use only when debugging a program.
.Pp
The
.Fn vsyslog_r
-is used the same way than
+is used the same way as
.Fn vsyslog
-except than it takes an additional pointer on a
+except that it takes an additional pointer on a
.Fa syslog_data
structure.
It is a reentrant version of the
@@ -325,7 +325,7 @@ is calculated by the macro
the mask for all priorities up to and including
.Fa toppri
is given by the macro
-.Fn LOG_UPTO toppri ; .
+.Fn LOG_UPTO toppri .
The default allows all priorities to be logged.
.Pp
The
diff --git a/lib/libc/gen/usleep.3 b/lib/libc/gen/usleep.3
index 8df5975f40d..beb40f86ead 100644
--- a/lib/libc/gen/usleep.3
+++ b/lib/libc/gen/usleep.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: usleep.3,v 1.12 2000/12/24 00:30:53 aaron Exp $
+.\" $OpenBSD: usleep.3,v 1.13 2003/04/30 06:28:10 jmc Exp $
.\"
.\" Copyright (c) 1986, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -70,7 +70,7 @@ returned will be zero.
If the
.Fn usleep
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.
.Sh ERRORS