diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2012-12-20 18:17:09 +0100 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2012-12-20 18:17:09 +0100 |
commit | e6d86b417fbe3ca2f961edff20302ff0ced552f3 (patch) | |
tree | 38b18380704f628dcc524b430ec82fbc741f2ea5 | |
parent | cd56c2fce6f737484335ead4a148f4f2e3b7ba5c (diff) | |
download | man-pages-e6d86b417fbe3ca2f961edff20302ff0ced552f3.tar.gz |
Removed trailing white space at end of lines
-rw-r--r-- | man2/s390_runtime_instr.2 | 2 | ||||
-rw-r--r-- | man2/sendmmsg.2 | 18 | ||||
-rw-r--r-- | man2/syslog.2 | 2 | ||||
-rw-r--r-- | man3/if_nameindex.3 | 8 | ||||
-rw-r--r-- | man7/ipv6.7 | 2 | ||||
-rw-r--r-- | man7/socket.7 | 8 | ||||
-rw-r--r-- | man7/tcp.7 | 2 |
7 files changed, 21 insertions, 21 deletions
diff --git a/man2/s390_runtime_instr.2 b/man2/s390_runtime_instr.2 index 35514647a6..0b60faa70b 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 9ece81918a..3c077f9205 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 <netinet/ip.h> +#include <netinet/ip.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> -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 b28e8bd766..b914a5d375 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 87f6f6a29b..36ffc80146 100644 --- a/man3/if_nameindex.3 +++ b/man3/if_nameindex.3 @@ -1,6 +1,6 @@ .\" Copyright (c) 2012 YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> .\" and Copyright (c) 2012 Michael Kerrisk <mtk.manpages@gmail.com> -.\" +.\" .\" 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 4c80df6279..506218af69 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 5515a74e01..32ec131f9e 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 f9ed7e69e2..61310a64d3 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 |