diff --git a/man2/s390_runtime_instr.2 b/man2/s390_runtime_instr.2 index 35514647a..0b60faa70 100644 --- a/man2/s390_runtime_instr.2 +++ b/man2/s390_runtime_instr.2 @@ -34,7 +34,7 @@ s390_runtime_instr \- enable/disable s390 CPU run-time instrumentation .SH DESCRIPTION The .BR s390_runtime_instr () -system call starts or stops CPU run-time instrumentation for the +system call starts or stops CPU run-time instrumentation for the calling thread. The diff --git a/man2/sendmmsg.2 b/man2/sendmmsg.2 index 9ece81918..3c077f920 100644 --- a/man2/sendmmsg.2 +++ b/man2/sendmmsg.2 @@ -164,25 +164,25 @@ is capped to .\" the first unsent message, so capping is simpler and requires less .\" application logic than returning EINVAL. .SH EXAMPLE -The example below uses +The example below uses .BR sendmmsg () -to send +to send .I onetwo -and +and .I three in two distinct UDP datagrams using one system call. The contents of the first datagram originates from a pair of buffers. .nf #define _GNU_SOURCE -#include +#include #include #include #include #include #include -int +int main() { int sockfd; @@ -197,15 +197,15 @@ main() exit(EXIT_FAILURE); } - sa.sin_family = AF_INET; - sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK); - sa.sin_port = htons(1234); + sa.sin_family = AF_INET; + sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK); + sa.sin_port = htons(1234); if (connect(sockfd, (struct sockaddr *) &sa, sizeof(sa)) == \-1) { perror("connect()"); exit(EXIT_FAILURE); } - memset(msg1, 0, sizeof(msg1)); + memset(msg1, 0, sizeof(msg1)); msg1[0].iov_base = "one"; msg1[0].iov_len = 3; msg1[1].iov_base = "two"; diff --git a/man2/syslog.2 b/man2/syslog.2 index b28e8bd76..b914a5d37 100644 --- a/man2/syslog.2 +++ b/man2/syslog.2 @@ -122,7 +122,7 @@ arguments are ignored. .IP This command does not really clear the ring buffer. Rather, it sets a kernel bookkeeping variable that -determines the results returned by commands 3 +determines the results returned by commands 3 .RB ( SYSLOG_ACTION_READ_ALL ) and 4 .RB ( SYSLOG_ACTION_READ_CLEAR ). diff --git a/man3/if_nameindex.3 b/man3/if_nameindex.3 index 87f6f6a29..36ffc8014 100644 --- a/man3/if_nameindex.3 +++ b/man3/if_nameindex.3 @@ -1,6 +1,6 @@ .\" Copyright (c) 2012 YOSHIFUJI Hideaki .\" and Copyright (c) 2012 Michael Kerrisk -.\" +.\" .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. @@ -34,7 +34,7 @@ if_nameindex, if_freenameindex \- get network interface names and indexes .SH DESCRIPTION The .BR if_nameindex () -function returns an array of +function returns an array of .I if_nameindex structures, each containing information about one of the network interfaces on the local system. @@ -129,13 +129,13 @@ main(int argc, char *argv[]) exit(EXIT_FAILURE); } - for (i = if_ni; ! (i\->if_index == 0 && i\->if_name == NULL); i++) + for (i = if_ni; ! (i\->if_index == 0 && i\->if_name == NULL); i++) printf("%u: %s\\n", i\->if_index, i\->if_name); if_freenameindex(if_ni); exit(EXIT_SUCCESS); -} +} .fi .SH CONFORMING TO RFC\ 3493, POSIX.1-2001. diff --git a/man7/ipv6.7 b/man7/ipv6.7 index 4c80df627..506218af6 100644 --- a/man7/ipv6.7 +++ b/man7/ipv6.7 @@ -23,7 +23,7 @@ structure. .\" Formerly IPV6_PKTOPTIONS .\" IPV6_2292HOPLIMIT (2.6.14) .\" Formerly IPV6_HOPLIMIT, which is documented -.\" +.\" .\" IPV6_RECVHOPLIMIT (2.6.14) .\" IPV6_RECVHOPOPTS (2.6.14) .\" IPV6_RTHDRDSTOPTS (2.6.14) diff --git a/man7/socket.7 b/man7/socket.7 index 5515a74e0..32ec131f9 100644 --- a/man7/socket.7 +++ b/man7/socket.7 @@ -241,9 +241,9 @@ interfaces in the sockets API, the type .IR "struct sockaddr" is defined. -The purpose of this type is purely to allow casting of +The purpose of this type is purely to allow casting of domain-specific socket address types to a "generic" type, -so as to avoid compiler warnings about type mismatches in +so as to avoid compiler warnings about type mismatches in calls to the sockets API. In addition, the sockets API provides the data type @@ -251,7 +251,7 @@ In addition, the sockets API provides the data type This type is suitable to accommodate all supported domain-specific socket address structures; it is large enough and is aligned properly. -(In particular, it is large enough to hold +(In particular, it is large enough to hold IPv6 socket addresses.) The structure includes the following field, which can be used to identify the type of socket address actually stored in the structure: @@ -262,7 +262,7 @@ the type of socket address actually stored in the structure: .fi .in -The +The .I sockaddr_storage structure is useful in programs that must handle socket addresses in a generic way diff --git a/man7/tcp.7 b/man7/tcp.7 index f9ed7e69e..61310a64d 100644 --- a/man7/tcp.7 +++ b/man7/tcp.7 @@ -12,7 +12,7 @@ .\" The descriptions of /proc files and socket options should now .\" be more or less up to date and complete as at Linux 2.6.27 .\" (other than the remaining FIXMEs in the page source below). -.\" +.\" .\" FIXME The following need to be documented .\" TCP_CONGESTION (new in 2.6.13) .\" commit 5f8ef48d240963093451bcf83df89f1a1364f51d