mirror of https://github.com/mkerrisk/man-pages
Removed trailing white space at end of lines
This commit is contained in:
parent
cd56c2fce6
commit
e6d86b417f
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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 ).
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue