summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-05-03 19:04:41 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-05-03 19:04:41 +0000
commit995903784119ef142efda84c17f976b1755efea2 (patch)
tree20a1e7874b1055436dc1fb5e4b48f1a2132c5e3e /lib
parent0aaa720d431428773584a5b985e6815b2a2ce712 (diff)
typos;
ok millert@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/auth_subr.311
-rw-r--r--lib/libc/gen/getcap.38
-rw-r--r--lib/libc/gen/isfdtype.36
-rw-r--r--lib/libc/gen/readpassphrase.311
-rw-r--r--lib/libc/gen/sysctl.310
5 files changed, 24 insertions, 22 deletions
diff --git a/lib/libc/gen/auth_subr.3 b/lib/libc/gen/auth_subr.3
index aa869037bde..d9484e0d3b3 100644
--- a/lib/libc/gen/auth_subr.3
+++ b/lib/libc/gen/auth_subr.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: auth_subr.3,v 1.10 2003/02/24 03:09:05 deraadt Exp $
+.\" $OpenBSD: auth_subr.3,v 1.11 2003/05/03 19:04:40 jmc Exp $
.\"
.\" Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
.\"
@@ -161,7 +161,7 @@ The user's password has expired and needs to be changed.
A session may be cleaned
by calling
.Fn auth_clean .
-This function causes any files created by a login script in this
+This function removes any files created by a login script in this
session and clears all state associated with this session.
It is not necessary to call
.Fn auth_clean
@@ -360,7 +360,8 @@ Initially it is set to the default service which provides the traditional
interactive service.
.It Li AUTH_STYLE
The style of authentication being performed, as defined by the
-.Pa /etc/login.conf file.
+.Pa /etc/login.conf
+file.
The style determines which login script should actually be used.
.El
The value returned points to private memory and should not be
@@ -370,7 +371,7 @@ The
.Fn auth_getvalue
function returns the value, if any, associated with the specified internal
variable
-.Ar what.
+.Ar what .
These variables are set by login scripts.
When a new login script is run
(by the
@@ -485,7 +486,7 @@ or
The function
.Fn auth_setstate
sets the sessions state to
-.Fa state.
+.Fa state .
Typically this is either
.Li AUTH_OKAY
or 0.
diff --git a/lib/libc/gen/getcap.3 b/lib/libc/gen/getcap.3
index bb95582795a..f113d4d0462 100644
--- a/lib/libc/gen/getcap.3
+++ b/lib/libc/gen/getcap.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getcap.3,v 1.23 2002/06/28 01:10:48 millert Exp $
+.\" $OpenBSD: getcap.3,v 1.24 2003/05/03 19:04:40 jmc Exp $
.\"
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -269,7 +269,7 @@ nor does it free the buffer allocated by
.Fn cgetent.
.Pp
.Fn cgetusedb
-allows the user to specify whether use or ignore database files ending in
+allows the user to specify whether to use or ignore database files ending in
.Dq .db .
If
.Ar usedb
@@ -327,7 +327,7 @@ database begins:
giving four names that can be used to access the record.
.Pp
The remaining non-empty capabilities describe a set of (name, value)
-bindings, consisting of a names optionally followed by a typed values:
+bindings, consisting of a name optionally followed by a typed value:
.Bl -column "nameTvalue"
.It name Ta "typeless [boolean] capability"
.Em name No "is present [true]"
@@ -490,7 +490,7 @@ of escape sequences:
.Pp
A
.Sq \|\e
-may be followed by up to three octal digits directly specifies
+followed by up to three octal digits directly specifies
the numeric code for a character.
The use of
.Tn ASCII
diff --git a/lib/libc/gen/isfdtype.3 b/lib/libc/gen/isfdtype.3
index 3a1f5bebe1d..ae1bc4d2e49 100644
--- a/lib/libc/gen/isfdtype.3
+++ b/lib/libc/gen/isfdtype.3
@@ -21,14 +21,14 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: isfdtype.3,v 1.1 2002/10/16 16:10:24 millert Exp $
+.\" $OpenBSD: isfdtype.3,v 1.2 2003/05/03 19:04:40 jmc Exp $
.\"
.Dd October 15, 2002
.Dt ISFDTYPE 3
.Os
.Sh NAME
.Nm isfdtype
-.Nd determine whether a file descriptor is of a specific type
+.Nd "determine whether a file descriptor is of a specific type"
.Sh SYNOPSIS
.Fd #include <sys/stat.h>
.Ft int
@@ -44,7 +44,7 @@ is of type
A list of possible file types may be found in
.Xr stat 2
and the
-.Cm <sys/stat.h>
+.Aq Pa sys/stat.h
include file.
.Sh RETURN VALUES
The
diff --git a/lib/libc/gen/readpassphrase.3 b/lib/libc/gen/readpassphrase.3
index 1eb8f6ca34f..9134f1fc58c 100644
--- a/lib/libc/gen/readpassphrase.3
+++ b/lib/libc/gen/readpassphrase.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: readpassphrase.3,v 1.9 2002/06/28 01:43:58 millert Exp $
+.\" $OpenBSD: readpassphrase.3,v 1.10 2003/05/03 19:04:40 jmc Exp $
.\"
.\" Copyright (c) 2000 Todd C. Miller <Todd.Miller@courtesan.com>
.\" All rights reserved.
@@ -150,10 +150,11 @@ default action is taken as per
.Pp
The
.Dv SIGTSTP ,
-.Dv SIGTTIN ,
-.Dv SIGTTOU ,
-signals (stop signal generated from keyboard or due to terminal I/O
-from a background proccess) are treated specially.
+.Dv SIGTTIN
+and
+.Dv SIGTTOU
+signals (stop signals generated from keyboard or due to terminal I/O
+from a background process) are treated specially.
When the process is resumed after it has been stopped,
.Fn readpassphrase
will reprint the prompt and the user may then enter a passphrase.
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index 01ef1138019..758dbadff72 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.3,v 1.101 2003/04/25 20:12:02 grange Exp $
+.\" $OpenBSD: sysctl.3,v 1.102 2003/05/03 19:04:40 jmc Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -237,7 +237,7 @@ privileges may change the value.
.It Dv HW_MACHINE
The machine class.
.It Dv HW_MODEL
-The machine model
+The machine model.
.It Dv HW_NCPU
The number of CPUs.
.It Dv HW_BYTEORDER
@@ -407,7 +407,7 @@ The size of the kernel message buffer.
A
.Li struct nchstats
structure is returned.
-This structure contains information the
+This structure contains information about the
filename to
.Xr inode 5
mapping cache.
@@ -640,7 +640,7 @@ The default value is 80.
Return System V style IPC configuration and run-time information.
The third level name selects the System V style IPC facility.
.Bl -column "KERN_SYSVIPC_MSG_INFOXXX" "struct shm_sysctl_infoXXX" -offset indent
-.It Sy Pa Third level name Type
+.It Sy Third level name Type
.It KERN\_SYSVIPC\_MSG\_INFO struct msg_sysctl_info
.It KERN\_SYSVIPC\_SEM\_INFO struct sem_sysctl_info
.It KERN\_SYSVIPC\_SHM\_INFO struct shm_sysctl_info
@@ -1167,7 +1167,7 @@ The third level name is the protocol.
The fourth level name is the variable name.
The currently defined protocols and names are:
.Bl -column "Protocol name" "Variable nameXX" "integer" "yes" -offset indent
-.It Pa Protocol name Variable name Type Changeable
+.It Sy Protocol name Variable name Type Changeable
.It ip6 forwarding integer yes
.It ip6 redirect integer yes
.It ip6 hlim integer yes