summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/gen/directory.32
-rw-r--r--lib/libc/gen/fnmatch.32
-rw-r--r--lib/libc/gen/getcap.35
-rw-r--r--lib/libc/gen/gethostname.33
-rw-r--r--lib/libc/gen/getpwent.32
-rw-r--r--lib/libc/gen/setjmp.32
-rw-r--r--lib/libc/gen/signal.35
-rw-r--r--lib/libc/gen/tzset.32
-rw-r--r--lib/libc/gen/ucontext.36
-rw-r--r--lib/libc/gen/unvis.38
-rw-r--r--lib/libc/net/linkaddr.32
-rw-r--r--lib/libc/posix1e/mac_prepare.32
-rw-r--r--lib/libc/rpc/rpc.32
-rw-r--r--lib/libc/stdio/funopen.34
-rw-r--r--lib/libc/stdlib/getopt.38
-rw-r--r--lib/libc/sys/aio_read.22
-rw-r--r--lib/libc/sys/aio_write.22
-rw-r--r--lib/libc/sys/chflags.22
-rw-r--r--lib/libc/sys/execve.22
-rw-r--r--lib/libc/sys/intro.226
-rw-r--r--lib/libc/sys/pipe.22
-rw-r--r--lib/libc/sys/sigaction.22
-rw-r--r--lib/libcam/cam.32
-rw-r--r--lib/libmd/ripemd.32
-rw-r--r--lib/libmd/sha.32
-rw-r--r--lib/libstand/libstand.36
-rw-r--r--lib/libutil/login_cap.32
-rw-r--r--lib/msun/man/asin.34
-rw-r--r--lib/msun/man/atanh.34
-rw-r--r--lib/msun/man/sinh.36
30 files changed, 62 insertions, 59 deletions
diff --git a/lib/libc/gen/directory.3 b/lib/libc/gen/directory.3
index 5cd6667..2edf5dc 100644
--- a/lib/libc/gen/directory.3
+++ b/lib/libc/gen/directory.3
@@ -59,7 +59,7 @@
.Ft long
.Fn telldir "DIR *dirp"
.Ft void
-.Fn seekdir "DIR *dirp" "long loc"
+.Fn seekdir "DIR *dirp" "long loc"
.Ft void
.Fn rewinddir "DIR *dirp"
.Ft int
diff --git a/lib/libc/gen/fnmatch.3 b/lib/libc/gen/fnmatch.3
index b89a569..1d2c68a 100644
--- a/lib/libc/gen/fnmatch.3
+++ b/lib/libc/gen/fnmatch.3
@@ -115,7 +115,7 @@ rest after successful
.Fa pattern
matching.
.It Dv FNM_CASEFOLD
-Ignore case distinctions in both the
+Ignore case distinctions in both the
.Fa pattern
and the
.Fa string .
diff --git a/lib/libc/gen/getcap.3 b/lib/libc/gen/getcap.3
index 6ab7721..090ec5a 100644
--- a/lib/libc/gen/getcap.3
+++ b/lib/libc/gen/getcap.3
@@ -256,7 +256,7 @@ copy pointed to by
expansion is done (see
.Ic tc=
comments below).
-Upon completion of the database 0 is returned, 1 is returned upon successful
+Upon completion of the database 0 is returned, 1 is returned upon successful
return of record with possibly more remaining (we haven't reached the end of
the database yet), 2 is returned if the record contains an unresolved
.Ic tc
@@ -325,7 +325,8 @@ does not exist
Names consist of one or more characters.
Names may contain any character
except `:', but it's usually best to restrict them to the printable
-characters and avoid use of graphics like `#', `=', `%', `@', etc.\& Types
+characters and avoid use of graphics like `#', `=', `%', `@', etc.
+Types
are single characters used to separate capability names from their
associated typed values.
Types may be any character except a `:'.
diff --git a/lib/libc/gen/gethostname.3 b/lib/libc/gen/gethostname.3
index 325ce42..9a0afed 100644
--- a/lib/libc/gen/gethostname.3
+++ b/lib/libc/gen/gethostname.3
@@ -89,7 +89,8 @@ argument gave an
invalid address.
.It Bq Er ENAMETOOLONG
The current host name is longer than
-.Fa namelen . (For
+.Fa namelen .
+(For
.Fn gethostname
only.)
.It Bq Er EPERM
diff --git a/lib/libc/gen/getpwent.3 b/lib/libc/gen/getpwent.3
index 8cb51a3..5ed800c 100644
--- a/lib/libc/gen/getpwent.3
+++ b/lib/libc/gen/getpwent.3
@@ -64,7 +64,7 @@
.Ft int
.Fn getpwuid_r "uid_t uid" "struct passwd *pwd" "char *buffer" "size_t bufsize" "struct passwd **result"
.Ft int
-.Fn setpassent "int stayopen"
+.Fn setpassent "int stayopen"
.Ft void
.Fn setpwent void
.Ft void
diff --git a/lib/libc/gen/setjmp.3 b/lib/libc/gen/setjmp.3
index d59fb89..9820298 100644
--- a/lib/libc/gen/setjmp.3
+++ b/lib/libc/gen/setjmp.3
@@ -86,7 +86,7 @@ function.
They then return so that program execution continues as if the corresponding
invocation of the
.Fn setjmp
-call had just returned the value specified by
+call had just returned the value specified by
.Fa val ,
instead of 0.
.Pp
diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3
index 681483d..1fdad33 100644
--- a/lib/libc/gen/signal.3
+++ b/lib/libc/gen/signal.3
@@ -42,7 +42,8 @@
.Lb libc
.Sh SYNOPSIS
.In signal.h
-.\" The following is Quite Ugly, but syntactically correct. Don't try to
+.\" The following is Quite Ugly, but syntactically correct.
+.\" Don't try to
.\" fix it.
.Ft void \*(lp*
.Fn signal "int sig" "void \*(lp*func\*(rp\*(lpint\*(rp\*(rp\*(rp\*(lpint"
@@ -227,7 +228,7 @@ for a list of functions
that are considered safe for use in signal handlers.
.Sh RETURN VALUES
The previous action is returned on a successful call.
-Otherwise, SIG_ERR is returned and the global variable
+Otherwise, SIG_ERR is returned and the global variable
.Va errno
is set to indicate the error.
.Sh ERRORS
diff --git a/lib/libc/gen/tzset.3 b/lib/libc/gen/tzset.3
index 42bcdbe..80c525d 100644
--- a/lib/libc/gen/tzset.3
+++ b/lib/libc/gen/tzset.3
@@ -234,7 +234,7 @@ The zero-based Julian day
.Em n
\*(Le 365 ) .
Leap days are counted, and it is possible to refer to February 29.
-.It Sy M Em m.n.d
+.It Sy M Em m.n.d
The
.Em d Ns 'th
day (0 \*(Le
diff --git a/lib/libc/gen/ucontext.3 b/lib/libc/gen/ucontext.3
index 0f167f2..0574322 100644
--- a/lib/libc/gen/ucontext.3
+++ b/lib/libc/gen/ucontext.3
@@ -60,11 +60,11 @@ structure contains at least these fields:
.Bl -tag -width ".Va mcontext_t\ \ uc_mcontext" -offset 3n -compact
.It Va "ucontext_t *uc_link"
context to assume when this one returns
-.It Va "sigset_t uc_sigmask"
+.It Va "sigset_t uc_sigmask"
signals being blocked
-.It Va "stack_t uc_stack"
+.It Va "stack_t uc_stack"
stack area
-.It Va "mcontext_t uc_mcontext"
+.It Va "mcontext_t uc_mcontext"
saved registers
.El
.Pp
diff --git a/lib/libc/gen/unvis.3 b/lib/libc/gen/unvis.3
index b2cdbaa..f371f9a 100644
--- a/lib/libc/gen/unvis.3
+++ b/lib/libc/gen/unvis.3
@@ -129,18 +129,18 @@ They are:
.Bl -tag -width UNVIS_VALIDPUSH
.It Li \&0 (zero)
Another character is necessary; nothing has been recognized yet.
-.It Dv UNVIS_VALID
+.It Dv UNVIS_VALID
A valid character has been recognized and is available at the location
pointed to by cp.
-.It Dv UNVIS_VALIDPUSH
+.It Dv UNVIS_VALIDPUSH
A valid character has been recognized and is available at the location
pointed to by cp; however, the character currently passed in should
be passed in again.
-.It Dv UNVIS_NOCHAR
+.It Dv UNVIS_NOCHAR
A valid sequence was detected, but no character was produced.
This
return code is necessary to indicate a logical break between characters.
-.It Dv UNVIS_SYNBAD
+.It Dv UNVIS_SYNBAD
An invalid escape sequence was detected, or the decoder is in an
unknown state.
The decoder is placed into the starting state.
diff --git a/lib/libc/net/linkaddr.3 b/lib/libc/net/linkaddr.3
index 61ebee0..1f1c21f 100644
--- a/lib/libc/net/linkaddr.3
+++ b/lib/libc/net/linkaddr.3
@@ -121,7 +121,7 @@ The
and
.Fn link_ntoa
functions appeared in
-.Bx 4.3 Reno .
+.Bx 4.3 Reno .
.Sh BUGS
The returned values for link_ntoa
reside in a static memory area.
diff --git a/lib/libc/posix1e/mac_prepare.3 b/lib/libc/posix1e/mac_prepare.3
index 7cb1cc3..597ce02 100644
--- a/lib/libc/posix1e/mac_prepare.3
+++ b/lib/libc/posix1e/mac_prepare.3
@@ -34,7 +34,7 @@
.Os
.Dt MAC_PREPARE 3
.Sh NAME
-.Nm mac_prepare , mac_prepare_type , mac_prepare_file_label ,
+.Nm mac_prepare , mac_prepare_type , mac_prepare_file_label ,
.Nm mac_prepare_ifnet_label , mac_prepare_process_label
.Nd allocate appropriate storage for
.Vt mac_t
diff --git a/lib/libc/rpc/rpc.3 b/lib/libc/rpc/rpc.3
index e19ac41..81a24ca 100644
--- a/lib/libc/rpc/rpc.3
+++ b/lib/libc/rpc/rpc.3
@@ -228,7 +228,7 @@ struct svc_req {
SVCXPRT *rq_xprt; /* associated transport */
};
.Ed
-.Sh "The XDR structure"
+.Sh "The XDR structure"
.Bd -literal
/*
* XDR operations.
diff --git a/lib/libc/stdio/funopen.3 b/lib/libc/stdio/funopen.3
index 8ca1653..80ce999 100644
--- a/lib/libc/stdio/funopen.3
+++ b/lib/libc/stdio/funopen.3
@@ -49,9 +49,9 @@
.Ft FILE *
.Fn funopen "const void *cookie" "int (*readfn)(void *, char *, int)" "int (*writefn)(void *, const char *, int)" "fpos_t (*seekfn)(void *, fpos_t, int)" "int (*closefn)(void *)"
.Ft FILE *
-.Fn fropen "void *cookie" "int (*readfn)(void *, char *, int)"
+.Fn fropen "void *cookie" "int (*readfn)(void *, char *, int)"
.Ft FILE *
-.Fn fwopen "void *cookie" "int (*writefn)(void *, const char *, int)"
+.Fn fwopen "void *cookie" "int (*writefn)(void *, const char *, int)"
.Sh DESCRIPTION
The
.Fn funopen
diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3
index bada90e..bdbed8d 100644
--- a/lib/libc/stdlib/getopt.3
+++ b/lib/libc/stdlib/getopt.3
@@ -45,10 +45,10 @@
.Sh SYNOPSIS
.In unistd.h
.Vt extern char *optarg ;
-.Vt extern int optind ;
-.Vt extern int optopt ;
-.Vt extern int opterr ;
-.Vt extern int optreset ;
+.Vt extern int optind ;
+.Vt extern int optopt ;
+.Vt extern int opterr ;
+.Vt extern int optreset ;
.Ft int
.Fn getopt "int argc" "char * const argv[]" "const char *optstring"
.Sh DESCRIPTION
diff --git a/lib/libc/sys/aio_read.2 b/lib/libc/sys/aio_read.2
index 047661b..07c28cf 100644
--- a/lib/libc/sys/aio_read.2
+++ b/lib/libc/sys/aio_read.2
@@ -101,7 +101,7 @@ request has completed, are not allowed.
.Pp
If the file offset in
.Fa iocb->aio_offset
-is past the offset maximum for
+is past the offset maximum for
.Fa iocb->aio_fildes ,
no I/O will occur.
.Sh RETURN VALUES
diff --git a/lib/libc/sys/aio_write.2 b/lib/libc/sys/aio_write.2
index 5fe8d98..5e9cda2 100644
--- a/lib/libc/sys/aio_write.2
+++ b/lib/libc/sys/aio_write.2
@@ -107,7 +107,7 @@ request has completed, are not allowed.
.Pp
If the file offset in
.Fa iocb->aio_offset
-is past the offset maximum for
+is past the offset maximum for
.Fa iocb->aio_fildes ,
no I/O will occur.
.Sh RETURN VALUES
diff --git a/lib/libc/sys/chflags.2 b/lib/libc/sys/chflags.2
index f80e671..0160878 100644
--- a/lib/libc/sys/chflags.2
+++ b/lib/libc/sys/chflags.2
@@ -46,7 +46,7 @@
.In sys/stat.h
.In unistd.h
.Ft int
-.Fn chflags "const char *path" "u_long flags"
+.Fn chflags "const char *path" "u_long flags"
.Ft int
.Fn lchflags "const char *path" "int flags"
.Ft int
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2
index 427f9ab..561f36a 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -60,7 +60,7 @@ An executable object file consists of an identifying header,
followed by pages of data representing the initial program (text)
and initialized data pages.
Additional pages may be specified
-by the header to be initialized with zero data; see
+by the header to be initialized with zero data; see
.Xr elf 5
and
.Xr a.out 5 .
diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2
index b16c3ea..2b88fbd 100644
--- a/lib/libc/sys/intro.2
+++ b/lib/libc/sys/intro.2
@@ -463,18 +463,18 @@ at run-time.
.El
.Sh DEFINITIONS
.Bl -tag -width Ds
-.It Process ID .
+.It Process ID .
Each active process in the system is uniquely identified by a non-negative
integer called a process ID.
The range of this ID is from 0 to 99999.
-.It Parent process ID
+.It Parent process ID
A new process is created by a currently active process; (see
.Xr fork 2 ) .
The parent process ID of a process is initially the process ID of its creator.
If the creating process exits,
the parent process ID of each child is set to the ID of a system process,
.Xr init 8 .
-.It Process Group
+.It Process Group
Each active process is a member of a process group that is identified by
a non-negative integer called the process group ID.
This is the process
@@ -501,7 +501,7 @@ A session leader with a controlling terminal is a controlling process.
.It Controlling terminal
A terminal that is associated with a session is known as the controlling
terminal for that session and its members.
-.It "Terminal Process Group ID"
+.It "Terminal Process Group ID"
A terminal may be acquired by a session leader as its controlling terminal.
Once a terminal is associated with a session, any of the process groups
within the session may be placed into the foreground by setting
@@ -512,7 +512,7 @@ to arbitrate between multiple jobs contending for the same terminal;
.Xr csh 1
and
.Xr tty 4 ) .
-.It "Orphaned Process Group"
+.It "Orphaned Process Group"
A process group is considered to be
.Em orphaned
if it is not under the control of a job control shell.
@@ -564,7 +564,7 @@ The group access list is a set of group IDs
used only in determining resource accessibility.
Access checks
are performed as described below in ``File Access Permissions''.
-.It "Saved Set User ID and Saved Set Group ID"
+.It "Saved Set User ID and Saved Set Group ID"
When a process executes a new file, the effective user ID is set
to the owner of the file if the file is set-user-ID, and the effective
group ID (first element of the group access list) is set to the group
@@ -577,11 +577,11 @@ or group ID after reverting to the real ID (see
(In POSIX.1, the saved set-user-ID and saved set-group-ID are optional,
and are used in setuid and setgid, but this does not work as desired
for the super-user.)
-.It Super-user
+.It Super-user
A process is recognized as a
.Em super-user
process and is granted special privileges if its effective user ID is 0.
-.It Descriptor
+.It Descriptor
An integer assigned by the system when a file is referenced
by
.Xr open 2
@@ -594,7 +594,7 @@ or
.Xr socketpair 2 ,
which uniquely identifies an access path to that file or socket from
a given process or any of its children.
-.It File Name
+.It File Name
Names consisting of up to 255
.Pq Dv MAXNAMELEN
characters may be used to name
@@ -618,7 +618,7 @@ or
as part of
file names because of the special meaning attached to these characters
by the shell.
-.It Path Name
+.It Path Name
A path name is a
.Tn NUL Ns -terminated
character string starting with an
@@ -637,7 +637,7 @@ Otherwise, the search begins from the current working directory.
A slash by itself names the root directory.
An empty
pathname refers to the current directory.
-.It Directory
+.It Directory
A directory is a special type of file that contains entries
that are references to other files.
Directory entries are called links.
@@ -659,7 +659,7 @@ and a current working directory for the purpose of resolving path
name searches.
A process's root directory need not be the root
directory of the root file system.
-.It File Access Permissions
+.It File Access Permissions
Every file in the file system has a set of access permissions.
These permissions are used in determining whether a process
may perform a requested operation on the file (such as opening
@@ -708,7 +708,7 @@ match the corresponding user ID and group ID of the file,
but the permissions for ``other users'' allow access.
.Pp
Otherwise, permission is denied.
-.It Sockets and Address Families
+.It Sockets and Address Families
A socket is an endpoint for communication between processes.
Each socket has queues for sending and receiving data.
.Pp
diff --git a/lib/libc/sys/pipe.2 b/lib/libc/sys/pipe.2
index 10c33b8..247b999 100644
--- a/lib/libc/sys/pipe.2
+++ b/lib/libc/sys/pipe.2
@@ -58,7 +58,7 @@ By convention, the first descriptor is normally used as the
.Em read end
of the pipe,
and the second is normally the
-.Em write end ,
+.Em write end ,
so that data written to
.Fa fildes[1]
appears on (i.e., can be read from)
diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2
index cd4eb89..9f15f8b 100644
--- a/lib/libc/sys/sigaction.2
+++ b/lib/libc/sys/sigaction.2
@@ -399,7 +399,7 @@ Base Interfaces:
.Fn sigaddset ,
.Fn sigdelset ,
.Fn sigemptyset ,
-.Fn sigfillset ,
+.Fn sigfillset ,
.Fn sigismember ,
.Fn signal ,
.Fn sigpending ,
diff --git a/lib/libcam/cam.3 b/lib/libcam/cam.3
index abfd7c2..76b716b 100644
--- a/lib/libcam/cam.3
+++ b/lib/libcam/cam.3
@@ -314,7 +314,7 @@ structure, and a string with length
.Fa len .
It creates a colon-terminated printing prefix string similar to the ones
used by the kernel.
-e.g.: "(cd0:ahc1:0:4:0): ".
+e.g.: "(cd0:ahc1:0:4:0): ".
.Fn cam_path_string
will place at most
.Fa len Ns \-1
diff --git a/lib/libmd/ripemd.3 b/lib/libmd/ripemd.3
index 87bb242..53b172e 100644
--- a/lib/libmd/ripemd.3
+++ b/lib/libmd/ripemd.3
@@ -53,7 +53,7 @@ This net result is a
of the input-data, which doesn't disclose the actual input.
.Pp
The
-.Fn RIPEMD160_Init ,
+.Fn RIPEMD160_Init ,
.Fn RIPEMD160_Update ,
and
.Fn RIPEMD160_Final
diff --git a/lib/libmd/sha.3 b/lib/libmd/sha.3
index d8401cd9..b8a7f96 100644
--- a/lib/libmd/sha.3
+++ b/lib/libmd/sha.3
@@ -88,7 +88,7 @@ It was quickly proven insecure, and has been superseded by
is included for compatibility purposes only.
.Pp
The
-.Fn SHA1_Init ,
+.Fn SHA1_Init ,
.Fn SHA1_Update ,
and
.Fn SHA1_Final
diff --git a/lib/libstand/libstand.3 b/lib/libstand/libstand.3
index 0e964f4..17c18d7 100644
--- a/lib/libstand/libstand.3
+++ b/lib/libstand/libstand.3
@@ -152,7 +152,7 @@ may be specified to refuse all attempts to set a variable.
.Pp
The unset hook is invoked when an attempt is made to unset a variable.
If it
-returns zero, the variable will be unset.
+returns zero, the variable will be unset.
The predefined function
.Fa env_nounset
may be used to prevent a variable being unset.
@@ -309,7 +309,7 @@ printf(
.Qq %6D ,
ptr,
.Qq \&:
-); gives
+); gives
.Qq XX:XX:XX:XX:XX:XX
.Ed
.Bd -ragged -offset indent
@@ -318,7 +318,7 @@ printf(
len,
ptr,
.Qq "\ "
-); gives
+); gives
.Qq XX XX XX ...
.Ed
.El
diff --git a/lib/libutil/login_cap.3 b/lib/libutil/login_cap.3
index 07fda65..075ca2b 100644
--- a/lib/libutil/login_cap.3
+++ b/lib/libutil/login_cap.3
@@ -370,7 +370,7 @@ kilobytes, megabytes, gigabytes, and on systems that support the
type, terabytes.
The suffix used determines the units, and multiple values and
units may be used in combination (e.g.\& 1m500k = 1.5 megabytes).
-A value with no suffix is interpreted as bytes, B as 512-byte
+A value with no suffix is interpreted as bytes, B as 512-byte
blocks, K as kilobytes, M as megabytes, G as gigabytes and T as
terabytes.
Case is ignored.
diff --git a/lib/msun/man/asin.3 b/lib/msun/man/asin.3
index ae6001e..f3ec7ac 100644
--- a/lib/msun/man/asin.3
+++ b/lib/msun/man/asin.3
@@ -44,9 +44,9 @@
.Sh SYNOPSIS
.In math.h
.Ft double
-.Fn asin "double x"
+.Fn asin "double x"
.Ft float
-.Fn asinf "float x"
+.Fn asinf "float x"
.Sh DESCRIPTION
The
.Fn asin
diff --git a/lib/msun/man/atanh.3 b/lib/msun/man/atanh.3
index 59eaff5..cd9f276 100644
--- a/lib/msun/man/atanh.3
+++ b/lib/msun/man/atanh.3
@@ -49,9 +49,9 @@
.Fn atanhf "float x"
.Sh DESCRIPTION
The
-.Fn atanh
+.Fn atanh
and the
-.Fn atanhf
+.Fn atanhf
functions compute the inverse hyperbolic tangent
of the real
argument
diff --git a/lib/msun/man/sinh.3 b/lib/msun/man/sinh.3
index 197bad7..ce3808c 100644
--- a/lib/msun/man/sinh.3
+++ b/lib/msun/man/sinh.3
@@ -43,9 +43,9 @@
.Sh SYNOPSIS
.In math.h
.Ft double
-.Fn sinh "double x"
+.Fn sinh "double x"
.Ft float
-.Fn sinhf "float x"
+.Fn sinhf "float x"
.Sh DESCRIPTION
The
.Fn sinh
@@ -59,7 +59,7 @@ The
and the
.Fn sinhf
functions return the hyperbolic sine value unless
-the magnitude
+the magnitude
of
.Fa x
is too large; in this event, the global variable
OpenPOWER on IntegriCloud