summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/fts.36
-rw-r--r--lib/libc/gen/getpagesizes.32
-rw-r--r--lib/libc/gen/sysconf.32
-rw-r--r--lib/libc/locale/ctype.32
-rw-r--r--lib/libc/locale/ctype_l.34
-rw-r--r--lib/libc/locale/digittoint.32
-rw-r--r--lib/libc/locale/isalnum.32
-rw-r--r--lib/libc/locale/isalpha.32
-rw-r--r--lib/libc/locale/isblank.32
-rw-r--r--lib/libc/locale/iscntrl.32
-rw-r--r--lib/libc/net/sctp_bindx.34
-rw-r--r--lib/libc/net/sctp_connectx.38
-rw-r--r--lib/libc/net/sctp_freepaddrs.34
-rw-r--r--lib/libc/net/sctp_getaddrlen.32
-rw-r--r--lib/libc/net/sctp_getassocid.32
-rw-r--r--lib/libc/net/sctp_getpaddrs.32
-rw-r--r--lib/libc/net/sctp_opt_info.34
-rw-r--r--lib/libc/net/sctp_recvmsg.334
-rw-r--r--lib/libc/net/sctp_send.338
-rw-r--r--lib/libc/net/sctp_sendmsg.334
-rw-r--r--lib/libc/net/sourcefilter.32
-rw-r--r--lib/libc/posix1e/acl_add_flag_np.32
-rw-r--r--lib/libc/posix1e/acl_create_entry.32
-rw-r--r--lib/libc/stdio/getline.32
-rw-r--r--lib/libc/stdlib/at_quick_exit.312
-rw-r--r--lib/libc/stdlib/getenv.32
-rw-r--r--lib/libc/string/memchr.32
-rw-r--r--lib/libc/sys/cap_new.22
-rw-r--r--lib/libc/sys/cpuset.28
-rw-r--r--lib/libc/sys/cpuset_getaffinity.22
-rw-r--r--lib/libc/sys/jail.24
-rw-r--r--lib/libc/sys/kqueue.28
-rw-r--r--lib/libc/sys/pathconf.22
-rw-r--r--lib/libc/sys/ptrace.22
-rw-r--r--lib/libc/sys/quotactl.24
-rw-r--r--lib/libc/sys/sctp_generic_sendmsg.24
-rw-r--r--lib/libc/sys/sctp_peeloff.22
-rw-r--r--lib/libc/sys/select.22
-rw-r--r--lib/libc/sys/sendfile.22
39 files changed, 112 insertions, 112 deletions
diff --git a/lib/libc/gen/fts.3 b/lib/libc/gen/fts.3
index 193e60e..35e4d45 100644
--- a/lib/libc/gen/fts.3
+++ b/lib/libc/gen/fts.3
@@ -802,12 +802,12 @@ principally to provide for alternative interfaces to the
.Nm
functionality using different data structures.
.Sh BUGS
-The
+The
.Fn fts_open
function will automatically set the
.Dv FTS_NOCHDIR
-option if the
+option if the
.Dv FTS_LOGICAL
-option is provided, or if it cannot
+option is provided, or if it cannot
.Xr open 2
the current directory.
diff --git a/lib/libc/gen/getpagesizes.3 b/lib/libc/gen/getpagesizes.3
index 959df81..854e2f7 100644
--- a/lib/libc/gen/getpagesizes.3
+++ b/lib/libc/gen/getpagesizes.3
@@ -56,7 +56,7 @@ array referenced by
These page sizes are expressed in bytes.
In this case,
.Fn getpagesizes
-returns the number of such page sizes that it assigned to the array.
+returns the number of such page sizes that it assigned to the array.
.Sh RETURN VALUES
If successful, the
.Fn getpagesizes
diff --git a/lib/libc/gen/sysconf.3 b/lib/libc/gen/sysconf.3
index 51f7eeb..4af6f82 100644
--- a/lib/libc/gen/sysconf.3
+++ b/lib/libc/gen/sysconf.3
@@ -211,7 +211,7 @@ Maximum number of functions that may be registered with
.It Li _SC_XOPEN_VERSION
An integer value greater than or equal to 4,
indicating the version of the X/Open Portability Guide to which this
-system conforms.
+system conforms.
.It Li _SC_XOPEN_XCU_VERSION
An integer value indicating the version of the XCU Specification to which
this system conforms.
diff --git a/lib/libc/locale/ctype.3 b/lib/libc/locale/ctype.3
index 49a3902..62ec05f 100644
--- a/lib/libc/locale/ctype.3
+++ b/lib/libc/locale/ctype.3
@@ -55,7 +55,7 @@
.Nm toascii ,
.Nm tolower ,
.Nm toupper
-.Nd character classification functions
+.Nd character classification functions
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
diff --git a/lib/libc/locale/ctype_l.3 b/lib/libc/locale/ctype_l.3
index 182e7cf..385125e 100644
--- a/lib/libc/locale/ctype_l.3
+++ b/lib/libc/locale/ctype_l.3
@@ -102,11 +102,11 @@
.Fn toupper_l "int c" "locale_t loc"
.Sh DESCRIPTION
The above functions perform character tests and conversions on the integer
-.Fa c
+.Fa c
in the locale
.Fa loc .
They behave in the same way as the versions without the _l suffix, but use the
-specified locale rather than the global or per-thread locale.
+specified locale rather than the global or per-thread locale.
.In ctype.h ,
or as true functions in the C library.
See the specific manual pages for more information.
diff --git a/lib/libc/locale/digittoint.3 b/lib/libc/locale/digittoint.3
index eebd064..4a7f2e2 100644
--- a/lib/libc/locale/digittoint.3
+++ b/lib/libc/locale/digittoint.3
@@ -49,7 +49,7 @@ function converts a numeric character to its corresponding integer value.
The character can be any decimal digit or hexadecimal digit.
With hexadecimal characters, the case of the values does not matter.
.Pp
-The
+The
.Fn digittoint_l
function takes an explicit locale argument, whereas the
.Fn digittoint
diff --git a/lib/libc/locale/isalnum.3 b/lib/libc/locale/isalnum.3
index c9042b5..b418643 100644
--- a/lib/libc/locale/isalnum.3
+++ b/lib/libc/locale/isalnum.3
@@ -77,7 +77,7 @@ In the ASCII character set, this includes the following characters
.It "\&171\ ``y'' \t172\ ``z''"
.El
.Pp
-The
+The
.Fn isalnum_l
function takes an explicit locale argument, whereas the
.Fn isalnum
diff --git a/lib/libc/locale/isalpha.3 b/lib/libc/locale/isalpha.3
index e535104..e1dfdd6 100644
--- a/lib/libc/locale/isalpha.3
+++ b/lib/libc/locale/isalpha.3
@@ -74,7 +74,7 @@ In the ASCII character set, this includes the following characters
.It "\&164\ ``t'' \t165\ ``u'' \t166\ ``v'' \t167\ ``w'' \t170\ ``x''"
.It "\&171\ ``y'' \t172\ ``z''"
.El
-The
+The
.Fn isalpha_l
function takes an explicit locale argument, whereas the
.Fn isalpha
diff --git a/lib/libc/locale/isblank.3 b/lib/libc/locale/isblank.3
index 8ef5c8d..5542280 100644
--- a/lib/libc/locale/isblank.3
+++ b/lib/libc/locale/isblank.3
@@ -59,7 +59,7 @@ The value of the argument must be representable as an
or the value of
.Dv EOF .
.Pp
-The
+The
.Fn isblank_l
function takes an explicit locale argument, whereas the
.Fn isblank
diff --git a/lib/libc/locale/iscntrl.3 b/lib/libc/locale/iscntrl.3
index 54379a4..fd50c27 100644
--- a/lib/libc/locale/iscntrl.3
+++ b/lib/libc/locale/iscntrl.3
@@ -67,7 +67,7 @@ In the ASCII character set, this includes the following characters
.It "\&036\ RS \t037\ US \t177\ DEL"
.El
.Pp
-The
+The
.Fn iscntrl_l
function takes an explicit locale argument, whereas the
.Fn iscntrl
diff --git a/lib/libc/net/sctp_bindx.3 b/lib/libc/net/sctp_bindx.3
index d047126..403cf7d 100644
--- a/lib/libc/net/sctp_bindx.3
+++ b/lib/libc/net/sctp_bindx.3
@@ -55,7 +55,7 @@ This allows a user to bind a subset of
addresses.
The
.Fn sctp_bindx
-call operates similarly to
+call operates similarly to
.Fn bind
but allows a list of addresses and also allows a bind or an
unbind.
@@ -98,7 +98,7 @@ This value is returned if the
field is not one of the allowed values (see above).
.It Bq Er ENOMEM
This value is returned if the number of addresses
-being added causes a memory allocation failure in
+being added causes a memory allocation failure in
the call.
.It Bq Er EBADF
The argument
diff --git a/lib/libc/net/sctp_connectx.3 b/lib/libc/net/sctp_connectx.3
index d454bb9..1851d4a 100644
--- a/lib/libc/net/sctp_connectx.3
+++ b/lib/libc/net/sctp_connectx.3
@@ -58,18 +58,18 @@ This allows a fault tolerant method
of initiating an association.
When one of the peers addresses
is unreachable, the subsequent listed addresses will also be used
-to set up the association with the peer.
+to set up the association with the peer.
.Pp
-The user also needs to consider that any address listed in an
+The user also needs to consider that any address listed in an
.Fn sctp_connectx
call is also considered "confirmed".
A confirmed address is one in
which the SCTP transport will trust is a part of the association
and it will not send a confirmation heartbeat to it with
-a random nonce.
+a random nonce.
.Pp
If the peer SCTP stack does not list one or more of
-the provided addresses in its response message then
+the provided addresses in its response message then
the extra addresses sent in the
.Fn sctp_connectx
call will be silently discarded from the association.
diff --git a/lib/libc/net/sctp_freepaddrs.3 b/lib/libc/net/sctp_freepaddrs.3
index a6815f4..77a8488 100644
--- a/lib/libc/net/sctp_freepaddrs.3
+++ b/lib/libc/net/sctp_freepaddrs.3
@@ -46,9 +46,9 @@
.In sys/socket.h
.In netinet/sctp.h
.Ft void
-.Fn sctp_freepaddrs "struct sockaddr *"
+.Fn sctp_freepaddrs "struct sockaddr *"
.Ft void
-.Fn sctp_freeladdrs "struct sockaddr *"
+.Fn sctp_freeladdrs "struct sockaddr *"
.Sh DESCRIPTION
The
.Fn sctp_freepaddrs
diff --git a/lib/libc/net/sctp_getaddrlen.3 b/lib/libc/net/sctp_getaddrlen.3
index 762e32d..7259635 100644
--- a/lib/libc/net/sctp_getaddrlen.3
+++ b/lib/libc/net/sctp_getaddrlen.3
@@ -62,7 +62,7 @@ system calls.
If for some reason a SCTP socket cannot
be created or the
.Fn getsockopt
-call fails, an error will be returned
+call fails, an error will be returned
with
.Va errno
set as specified in the
diff --git a/lib/libc/net/sctp_getassocid.3 b/lib/libc/net/sctp_getassocid.3
index 27ae324..f347a13 100644
--- a/lib/libc/net/sctp_getassocid.3
+++ b/lib/libc/net/sctp_getassocid.3
@@ -50,7 +50,7 @@ The
.Fn sctp_getassocid
call attempts to look up the specified socket address
.Fa addr
-and find the respective association identification.
+and find the respective association identification.
.Sh RETURN VALUES
The call returns the association id upon success and
0 is returned upon failure.
diff --git a/lib/libc/net/sctp_getpaddrs.3 b/lib/libc/net/sctp_getpaddrs.3
index 6ad5ea0..8bdf2cc 100644
--- a/lib/libc/net/sctp_getpaddrs.3
+++ b/lib/libc/net/sctp_getpaddrs.3
@@ -53,7 +53,7 @@
The
.Fn sctp_getpaddrs
function is used to get the list of the peers addresses.
-The
+The
.Fn sctp_getladdrs
function is used to get the list of the local addresses.
The association of interest is identified by the
diff --git a/lib/libc/net/sctp_opt_info.3 b/lib/libc/net/sctp_opt_info.3
index df8faa6..02b0f85 100644
--- a/lib/libc/net/sctp_opt_info.3
+++ b/lib/libc/net/sctp_opt_info.3
@@ -50,7 +50,7 @@
The
.Fn sctp_opt_info
call provides a multi-os compatible method for getting
-specific
+specific
.Fn getsockopt
data where an association identification needs to be passed
into the operating system.
@@ -70,7 +70,7 @@ who wish to write portable code amongst multiple operating systems
this call should be used for the following SCTP
socket options.
.Pp
-.Dv SCTP_RTOINFO
+.Dv SCTP_RTOINFO
.Pp
.Dv SCTP_ASSOCINFO
.Pp
diff --git a/lib/libc/net/sctp_recvmsg.3 b/lib/libc/net/sctp_recvmsg.3
index 8ddbeb8..37323c8 100644
--- a/lib/libc/net/sctp_recvmsg.3
+++ b/lib/libc/net/sctp_recvmsg.3
@@ -56,11 +56,11 @@ is used to receive a message from another SCTP endpoint.
The
.Fn sctp_recvmsg
call is used by one-to-one (SOCK_STREAM) type sockets after a
-successful
+successful
.Fn connect
-call or after the application has performed a
-.Fn listen
-followed by a successful
+call or after the application has performed a
+.Fn listen
+followed by a successful
.Fn accept .
For a one-to-many (SOCK_SEQPACKET) type socket, an endpoint may call
.Fn sctp_recvmsg
@@ -77,7 +77,7 @@ with a positive backlog to enable the reception of new associations.
.Pp
The address of the sender is held in the
.Fa from
-argument with
+argument with
.Fa fromlen
specifying its size.
At the completion of a successful
@@ -88,16 +88,16 @@ will hold the address of the peer and
.Fa fromlen
will hold the length of that address.
Note that
-the address is bounded by the initial value of
+the address is bounded by the initial value of
.Fa fromlen
which is used as an in/out variable.
.Pp
-The length of the message
+The length of the message
.Fa msg
to be received is bounded by
.Fa len .
If the message is too long to fit in the users
-receive buffer, then the
+receive buffer, then the
.Fa flags
argument will
.Em not
@@ -105,16 +105,16 @@ have the
.Dv MSG_EOF
flag applied.
If the message is a complete message then
-the
+the
.Fa flags
argument will have
.Dv MSG_EOF
set.
-Locally detected errors are
+Locally detected errors are
indicated by a return value of -1 with
.Va errno
set accordingly.
-The
+The
.Fa flags
argument may also hold the value
.Dv MSG_NOTIFICATION .
@@ -141,7 +141,7 @@ The
system call may be used to determine when it is possible to
receive a message.
.Pp
-The
+The
.Fa sinfo
argument is defined as follows.
.Bd -literal
@@ -161,7 +161,7 @@ struct sctp_sndrcvinfo {
The
.Fa sinfo->sinfo_ppid
field is an opaque 32 bit value that is passed transparently
-through the stack from the peer endpoint.
+through the stack from the peer endpoint.
Note that the stack passes this value without regard to byte
order.
.Pp
@@ -182,7 +182,7 @@ was delivered in order within the stream it was received.
.Pp
The
.Fa sinfo->sinfo_stream
-field is the SCTP stream that the message was received on.
+field is the SCTP stream that the message was received on.
Streams in SCTP are reliable (or partially reliable) flows of ordered
messages.
.Pp
@@ -194,7 +194,7 @@ context with the
socket option.
Optionally a user process can use this value to index some application
specific data structure for all data coming from a specific
-association.
+association.
.Pp
The
.Fa sinfo->sinfo_ssn
@@ -230,12 +230,12 @@ sockets this value can be used to send data to the peer without
the use of an address field.
It is also quite useful in
setting various socket options on the specific association
-(see
+(see
.Xr sctp 4 ) .
.Pp
The
.Fa sinfo->info_timetolive
-field is not used by
+field is not used by
.Fn sctp_recvmsg .
.Sh RETURN VALUES
The call returns the number of bytes received, or -1
diff --git a/lib/libc/net/sctp_send.3 b/lib/libc/net/sctp_send.3
index 9acb616..d195b7a 100644
--- a/lib/libc/net/sctp_send.3
+++ b/lib/libc/net/sctp_send.3
@@ -62,14 +62,14 @@ is used to transmit a message to another SCTP endpoint.
.Fn sctp_send
may be used to send data to an existing association for both
one-to-many (SOCK_SEQPACKET) and one-to-one (SOCK_STREAM) socket types.
-The length of the message
+The length of the message
.Fa msg
is given by
.Fa len .
If the message is too long to pass atomically through the
underlying protocol,
.Va errno
-is set to
+is set to
.Er EMSGSIZE ,
-1 is returned, and
the message is not transmitted.
@@ -88,7 +88,7 @@ The
system call may be used to determine when it is possible to
send more data on one-to-one type (SOCK_STREAM) sockets.
.Pp
-The
+The
.Fa sinfo
structure is used to control various SCTP features
and has the following format:
@@ -106,7 +106,7 @@ struct sctp_sndrcvinfo {
};
.Ed
.Pp
-The
+The
.Fa sinfo->sinfo_ppid
argument is an opaque 32 bit value that is passed transparently
through the stack to the peer endpoint. It will be available on
@@ -131,7 +131,7 @@ argument may include one or more of the following:
#define SCTP_PR_SCTP_RTX 0x0003 /* Number of retransmissions based PR-SCTP */
.Ed
.Pp
-The flag
+The flag
.Dv SCTP_EOF
is used to instruct the SCTP stack to queue this message
and then start a graceful shutdown of the association.
@@ -158,7 +158,7 @@ is used to specify that a specific address should be used.
Normally
SCTP will use only one of a multi-homed peers addresses as the primary
address to send to.
-By default, no matter what the
+By default, no matter what the
.Fa to
argument is, this primary address is used to send data.
By specifying
@@ -193,14 +193,14 @@ skipped and no longer transmitted.
Note that this policy does
not even assure that the data will ever be sent.
In times of a congestion
-with large amounts of data being queued, the
+with large amounts of data being queued, the
.Fa sinfo->sinfo_timetolive
may expire before the first transmission is ever made.
.Pp
The
.Dv SCTP_PR_SCTP_BUF
based policy transforms the
-.Fa sinfo->sinfo_timetolive
+.Fa sinfo->sinfo_timetolive
field into a total number of bytes allowed on the outbound
send queue.
If that number or more bytes are in queue, then
@@ -208,19 +208,19 @@ other buffer-based sends are looked to be removed and
skipped.
Note that this policy may also result in the data
never being sent if no buffer based sends are in queue and
-the maximum specified by
-.Fa timetolive
+the maximum specified by
+.Fa timetolive
bytes is in queue.
.Pp
The
.Dv SCTP_PR_SCTP_RTX
policy transforms the
-.Fa sinfo->sinfo_timetolive
+.Fa sinfo->sinfo_timetolive
into a number of retransmissions to allow.
This policy
always assures that at a minimum one send attempt is
made of the data.
-After which no more than
+After which no more than
.Fa sinfo->sinfo_timetolive
retransmissions will be made before the data is skipped.
.Pp
@@ -228,11 +228,11 @@ retransmissions will be made before the data is skipped.
is the SCTP stream that you wish to send the
message on.
Streams in SCTP are reliable (or partially reliable) flows of ordered
-messages.
+messages.
.Pp
The
.Fa sinfo->sinfo_assoc_id
-field is used to
+field is used to
select the association to send to on a one-to-many socket.
For a one-to-one socket, this field is ignored.
.Pp
@@ -256,16 +256,16 @@ The fields
.Fa sinfo->sinfo_ssn ,
.Fa sinfo->sinfo_tsn ,
and
-.Fa sinfo->sinfo_cumtsn
+.Fa sinfo->sinfo_cumtsn
are used only when receiving messages and are thus ignored by
.Fn sctp_send .
The function
-.Fn sctp_sendx
-has the same properties as
+.Fn sctp_sendx
+has the same properties as
.Fn sctp_send
with the additional arguments of an array of sockaddr structures
passed in.
-With the
+With the
.Fa addrs
argument being given as an array of addresses to be sent to and
the
@@ -277,7 +277,7 @@ when an implicit association is being set up.
This allows the
user the equivalent behavior as doing a
.Fn sctp_connectx
-followed by a
+followed by a
.Fn sctp_send
to the association.
Note that if the
diff --git a/lib/libc/net/sctp_sendmsg.3 b/lib/libc/net/sctp_sendmsg.3
index ddd88b4..4158932 100644
--- a/lib/libc/net/sctp_sendmsg.3
+++ b/lib/libc/net/sctp_sendmsg.3
@@ -72,10 +72,10 @@ Data sent in such an instance will result in
the data being sent on the third leg of the SCTP four-way handshake.
Note that if
the socket is a one-to-one type (SOCK_STREAM) socket then an association must
-be in existence (by use of the
+be in existence (by use of the
.Xr connect 2
system call).
-Calling
+Calling
.Fn sctp_sendmsg
or
.Fn sctp_sendmsgx
@@ -90,14 +90,14 @@ The address of the target is given by
with
.Fa tolen
specifying its size.
-The length of the message
+The length of the message
.Fa msg
is given by
.Fa len .
If the message is too long to pass atomically through the
underlying protocol,
.Va errno
-is set to
+is set to
.Er EMSGSIZE ,
-1 is returned, and
the message is not transmitted.
@@ -117,7 +117,7 @@ The
system call may be used to determine when it is possible to
send more data on one-to-one type (SOCK_STREAM) sockets.
.Pp
-The
+The
.Fa ppid
argument is an opaque 32 bit value that is passed transparently
through the stack to the peer endpoint.
@@ -143,7 +143,7 @@ argument may include one or more of the following:
#define SCTP_PR_SCTP_RTX 0x0003 /* Number of retransmissions based PR-SCTP */
.Ed
.Pp
-The flag
+The flag
.Dv SCTP_EOF
is used to instruct the SCTP stack to queue this message
and then start a graceful shutdown of the association.
@@ -170,7 +170,7 @@ is used to specify that an specific address should be used.
Normally
SCTP will use only one of a multi-homed peers addresses as the primary
address to send to.
-By default, no matter what the
+By default, no matter what the
.Fa to
argument is, this primary address is used to send data.
By specifying
@@ -205,14 +205,14 @@ skipped and no longer transmitted.
Note that this policy does
not even assure that the data will ever be sent.
In times of a congestion
-with large amounts of data being queued, the
+with large amounts of data being queued, the
.Fa timetolive
may expire before the first transmission is ever made.
.Pp
The
.Dv SCTP_PR_SCTP_BUF
based policy transforms the
-.Fa timetolive
+.Fa timetolive
field into a total number of bytes allowed on the outbound
send queue.
If that number or more bytes are in queue, then
@@ -220,19 +220,19 @@ other buffer based sends are looked to be removed and
skipped.
Note that this policy may also result in the data
never being sent if no buffer based sends are in queue and
-the maximum specified by
-.Fa timetolive
+the maximum specified by
+.Fa timetolive
bytes is in queue.
.Pp
The
.Dv SCTP_PR_SCTP_RTX
policy transforms the
-.Fa timetolive
+.Fa timetolive
into a number of retransmissions to allow.
This policy
always assures that at a minimum one send attempt is
made of the data.
-After which no more than
+After which no more than
.Fa timetolive
retransmissions will be made before the data is skipped.
.Pp
@@ -241,7 +241,7 @@ is the SCTP stream that you wish to send the
message on.
Streams in SCTP are reliable (or partially reliable) flows of ordered
messages.
-The
+The
.Fa context
field is used only in the event the message cannot be sent.
This is an opaque
@@ -251,7 +251,7 @@ is given if that notification is enabled (see
Normally a user process can use this value to index some application
specific data structure when a send cannot be fulfilled.
.Fn sctp_sendmsgx
-is identical to
+is identical to
.Fn sctp_sendmsg
with the exception that it takes an array of sockaddr structures in the
argument
@@ -262,7 +262,7 @@ which specifies how many addresses are in the array.
This allows a
caller to implicitly set up an association passing multiple addresses
as if
-.Fn sctp_connectx
+.Fn sctp_connectx
had been called to set up the association.
.Sh RETURN VALUES
The call returns the number of characters sent, or -1
@@ -325,7 +325,7 @@ is not connected and is a one-to-one style socket.
.Xr sctp 4
.Sh BUGS
Because in the one-to-many style socket
-.Fn sctp_sendmsg
+.Fn sctp_sendmsg
or
.Fn sctp_sendmsgx
may have multiple associations under one endpoint, a
diff --git a/lib/libc/net/sourcefilter.3 b/lib/libc/net/sourcefilter.3
index 46f61a8..c7293e0 100644
--- a/lib/libc/net/sourcefilter.3
+++ b/lib/libc/net/sourcefilter.3
@@ -220,7 +220,7 @@ operation.
.Sh SEE ALSO
.Xr ip 4 ,
.Xr ip6 4 ,
-.Xr multicast 4,
+.Xr multicast 4,
.Xr ifmcstat 8
.Rs
.%A D. Thaler
diff --git a/lib/libc/posix1e/acl_add_flag_np.3 b/lib/libc/posix1e/acl_add_flag_np.3
index 7ae83e2..cf4890b 100644
--- a/lib/libc/posix1e/acl_add_flag_np.3
+++ b/lib/libc/posix1e/acl_add_flag_np.3
@@ -30,7 +30,7 @@
.Os
.Sh NAME
.Nm acl_add_flag_np
-.Nd add flags to a flagset
+.Nd add flags to a flagset
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
diff --git a/lib/libc/posix1e/acl_create_entry.3 b/lib/libc/posix1e/acl_create_entry.3
index 2442783..784f687 100644
--- a/lib/libc/posix1e/acl_create_entry.3
+++ b/lib/libc/posix1e/acl_create_entry.3
@@ -39,7 +39,7 @@
.In sys/acl.h
.Ft int
.Fn acl_create_entry "acl_t *acl_p" "acl_entry_t *entry_p"
-.Ft int
+.Ft int
.Fn acl_create_entry_np "acl_t *acl_p" "acl_entry_t *entry_p" "int index"
.Sh DESCRIPTION
The
diff --git a/lib/libc/stdio/getline.3 b/lib/libc/stdio/getline.3
index e0dda08..6061bfc 100644
--- a/lib/libc/stdio/getline.3
+++ b/lib/libc/stdio/getline.3
@@ -78,7 +78,7 @@ and
.Fn getline
functions return the number of characters written, excluding the
terminating
-.Dv NUL
+.Dv NUL
character.
The value \-1 is returned if an error occurs, or if end-of-file is reached.
.Sh EXAMPLES
diff --git a/lib/libc/stdlib/at_quick_exit.3 b/lib/libc/stdlib/at_quick_exit.3
index 7f98963..a75c0c0 100644
--- a/lib/libc/stdlib/at_quick_exit.3
+++ b/lib/libc/stdlib/at_quick_exit.3
@@ -1,6 +1,6 @@
.\" Copyright (c) 2011 David Chisnall
.\" All rights reserved.
-.\"
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
@@ -9,7 +9,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -21,7 +21,7 @@
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
-.\"
+.\"
.\" $FreeBSD$
.\"
.Dd December 7, 2011
@@ -40,16 +40,16 @@
The
.Fn at_quick_exit
function registers a cleanup function to be called when the program exits as a
-result of calling
+result of calling
.Xr quick_exit 3 .
The cleanup functions are called in the reverse order and will not be called if
-the program exits by calling
+the program exits by calling
.Xr exit 3 ,
.Xr _Exit 3 ,
or
.Xr abort 3 .
.Sh RETURN VALUES
-The
+The
.Fn at_quick_exit
function returns the value 0 if successful and a non-zero value on failure.
.Sh SEE ALSO
diff --git a/lib/libc/stdlib/getenv.3 b/lib/libc/stdlib/getenv.3
index fd7d856..bc87b9d 100644
--- a/lib/libc/stdlib/getenv.3
+++ b/lib/libc/stdlib/getenv.3
@@ -201,7 +201,7 @@ function appeared in
Until
.Fx 7.0 ,
.Fn putenv
-would make a copy of
+would make a copy of
.Fa string
and insert it into the environment using
.Fn setenv .
diff --git a/lib/libc/string/memchr.3 b/lib/libc/string/memchr.3
index 6e33aef..9f31fd1 100644
--- a/lib/libc/string/memchr.3
+++ b/lib/libc/string/memchr.3
@@ -94,7 +94,7 @@ conforms to
.St -isoC .
.Pp
The
-.Fn memrchr
+.Fn memrchr
function is a GNU extension and conforms to no standard.
.Sh HISTORY
The
diff --git a/lib/libc/sys/cap_new.2 b/lib/libc/sys/cap_new.2
index b469f9a..a18fd3b 100644
--- a/lib/libc/sys/cap_new.2
+++ b/lib/libc/sys/cap_new.2
@@ -464,7 +464,7 @@ Support for capabilities and capabilities mode was developed as part of the
Project.
.Sh AUTHORS
These functions and the capability facility were created by
-.An "Robert N. M. Watson"
+.An "Robert N. M. Watson"
at the University of Cambridge Computer Laboratory with support from a grant
from Google, Inc.
.Sh BUGS
diff --git a/lib/libc/sys/cpuset.2 b/lib/libc/sys/cpuset.2
index 1cdff68..652d3ae 100644
--- a/lib/libc/sys/cpuset.2
+++ b/lib/libc/sys/cpuset.2
@@ -77,7 +77,7 @@ while application developers will manipulate anonymous sets using
To select the correct set a value of type
.Ft cpulevel_t
is used.
-The following values for
+The following values for
.Fa level
are supported:
.Bl -column CPU_LEVEL_CPUSET -offset indent
@@ -137,7 +137,7 @@ Children inherit this set after a call to
.Xr fork 2 .
.Pp
.Fn cpuset_setid
-attempts to set the id of the object specified by the
+attempts to set the id of the object specified by the
.Fa which
argument.
Currently
@@ -149,12 +149,12 @@ Upon successful completion all of the threads in the target process will
be running on CPUs permitted by the set.
.Pp
.Fn cpuset_getid
-retrieves a set id from the object indicated by
+retrieves a set id from the object indicated by
.Fa which
and stores it in the space pointed to by
.Fa setid .
The retrieved id may be that of either the root or assigned set
-depending on the value of
+depending on the value of
.Fa level .
.Fa level
should be
diff --git a/lib/libc/sys/cpuset_getaffinity.2 b/lib/libc/sys/cpuset_getaffinity.2
index bc86267..4fbbc4e 100644
--- a/lib/libc/sys/cpuset_getaffinity.2
+++ b/lib/libc/sys/cpuset_getaffinity.2
@@ -45,7 +45,7 @@
.Fn cpuset_getaffinity
and
.Fn cpuset_setaffinity
-allow the manipulation of sets of CPUs available to processes, threads,
+allow the manipulation of sets of CPUs available to processes, threads,
interrupts, jails and other resources.
These functions may manipulate sets of CPUs that contain many processes
or per-object anonymous masks that effect only a single object.
diff --git a/lib/libc/sys/jail.2 b/lib/libc/sys/jail.2
index 7e7ec13..b0619a0 100644
--- a/lib/libc/sys/jail.2
+++ b/lib/libc/sys/jail.2
@@ -334,7 +334,7 @@ flag is not set.
The jail referred to by a
.Va jid
is not accessible by the process, because the process is in a different
-jail.
+jail.
.It Bq Er EEXIST
The jail referred to by a
.Va jid
@@ -382,7 +382,7 @@ parameter does not exist.
The jail referred to by a
.Va jid
is not accessible by the process, because the process is in a different
-jail.
+jail.
.It Bq Er ENOENT
The
.Va lastjid
diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2
index 4fa3020..63a662f 100644
--- a/lib/libc/sys/kqueue.2
+++ b/lib/libc/sys/kqueue.2
@@ -203,7 +203,7 @@ will not return it.
The filter itself is not disabled.
.It EV_DISPATCH
Disable the event source immediately after delivery of an event.
-See
+See
.Dv EV_DISABLE
above.
.It EV_DELETE
@@ -217,7 +217,7 @@ any pending events.
When passed as input, it forces
.Dv EV_ERROR
to always be returned.
-When a filter is successfully added the
+When a filter is successfully added the
.Va data
field will be zero.
.It EV_ONESHOT
@@ -449,10 +449,10 @@ Establishes a user event identified by
.Va ident
which is not associated with any kernel mechanism but is triggered by
user level code.
-The lower 24 bits of the
+The lower 24 bits of the
.Va fflags
may be used for user defined flags and manipulated using the following:
-.Bl -tag -width XXNOTE_FFLAGSMASK
+.Bl -tag -width XXNOTE_FFLAGSMASK
.It Dv NOTE_FFNOP
Ignore the input
.Va fflags .
diff --git a/lib/libc/sys/pathconf.2 b/lib/libc/sys/pathconf.2
index cbdb3c1..8bdd5b8 100644
--- a/lib/libc/sys/pathconf.2
+++ b/lib/libc/sys/pathconf.2
@@ -173,7 +173,7 @@ return a positive number that represents the minimum hole size returned in
bytes.
The offsets of holes returned will be aligned to this same value.
A special value of 1 is returned if the file system does not specify the minimum
-hole size but still reports holes.
+hole size but still reports holes.
.El
.Sh RETURN VALUES
If the call to
diff --git a/lib/libc/sys/ptrace.2 b/lib/libc/sys/ptrace.2
index 4f1afda..9dda8ee 100644
--- a/lib/libc/sys/ptrace.2
+++ b/lib/libc/sys/ptrace.2
@@ -441,7 +441,7 @@ This request is used to iterate over the entries of the VM map of the traced
process.
The
.Fa addr
-argument specifies a pointer to a
+argument specifies a pointer to a
.Vt "struct ptrace_vm_entry" ,
which is defined as follows:
.Bd -literal
diff --git a/lib/libc/sys/quotactl.2 b/lib/libc/sys/quotactl.2
index ff3cb4b..6dabff0 100644
--- a/lib/libc/sys/quotactl.2
+++ b/lib/libc/sys/quotactl.2
@@ -113,7 +113,7 @@ Only the super-user may turn quotas off.
.It Dv Q_GETQUOTASIZE
Get the wordsize used to represent the quotas for the user or group
(as determined by the command type).
-Possible values are 32 for the old-style quota file
+Possible values are 32 for the old-style quota file
and 64 for the new-style quota file.
The
.Fa addr
@@ -199,7 +199,7 @@ The
.Fa id
argument to
.Dv Q_GETQUOTA ,
-.Dv Q_SETQUOTA
+.Dv Q_SETQUOTA
or
.Dv Q_SETUSE
is a negative value.
diff --git a/lib/libc/sys/sctp_generic_sendmsg.2 b/lib/libc/sys/sctp_generic_sendmsg.2
index fee4211..1a2b128 100644
--- a/lib/libc/sys/sctp_generic_sendmsg.2
+++ b/lib/libc/sys/sctp_generic_sendmsg.2
@@ -54,7 +54,7 @@ and
.Fn sctp_generic_sendmsg_iov
are the true system calls used by the
.Xr sctp_sendmsg 3
-and
+and
.Xr sctp_send 3
function calls.
These are more efficient since they are
@@ -68,7 +68,7 @@ For detailed usage please see either the
.Xr sctp_send 3
or
.Xr sctp_sendmsg 3
-function calls.
+function calls.
.Sh RETURN VALUES
The call returns the number of bytes written on success and -1 upon failure.
.Sh ERRORS
diff --git a/lib/libc/sys/sctp_peeloff.2 b/lib/libc/sys/sctp_peeloff.2
index 2cc9c93..40a026d 100644
--- a/lib/libc/sys/sctp_peeloff.2
+++ b/lib/libc/sys/sctp_peeloff.2
@@ -60,7 +60,7 @@ The
system call can return the following errors:
.Bl -tag -width Er
.It Bq Er ENOTCONN
-The
+The
.Fa id
given to the call does not map to a valid
association.
diff --git a/lib/libc/sys/select.2 b/lib/libc/sys/select.2
index 2435e37..59a7998 100644
--- a/lib/libc/sys/select.2
+++ b/lib/libc/sys/select.2
@@ -222,6 +222,6 @@ Thus, it is unwise to assume that the timeout value will be unmodified
by the
.Fn select
system call.
-.Fx
+.Fx
does not modify the return value, which can cause problems for applications
ported from other systems.
diff --git a/lib/libc/sys/sendfile.2 b/lib/libc/sys/sendfile.2
index d9f8cab..9d1fba5 100644
--- a/lib/libc/sys/sendfile.2
+++ b/lib/libc/sys/sendfile.2
@@ -104,7 +104,7 @@ variable pointed to by
The
.Fa flags
argument is a bitmap of these values:
-.Bl -item -offset indent
+.Bl -item -offset indent
.It
.Dv SF_NODISKIO .
This flag causes any
OpenPOWER on IntegriCloud