mirror of https://github.com/mkerrisk/man-pages
fsync.2, getcpu.2, io_getevents.2, kcmp.2, killpg.2, outb.2, perf_event_open.2, setns.2, getaddrinfo_a.3, makedev.3, mcheck.3, perror.3, posix_memalign.3, xdr.3, cciss.4, fd.4, hpsa.4, st.4, acct.5, gai.conf.5, nss.5, proc.5, ip.7, koi8-r.7, netdevice.7, netlink.7, ld.so.8: Remove double blank lines in output
Found using this script from Denys Vlasenko (with some mods by mtk): find man? -type f -name '*.[123456789]' -size +200c | sort \ | while read name; do m1="`man $name | tail -n +5 | head -n-1`" m2="` printf "%s\n" "$m1" \ | tr $'\n' '@' \ | sed 's/@@@/@@HERE>>>>@/g' \ | tr '@' $'\n' \ | sed 's/^/\t/' \ | sed 's/^\tHERE>>>>/ HERE>>>>/' \ | grep -C2 -e $'^[^\t]' \ | sed 's/^\t$//' `" test "$m2" || continue printf "%s\n%s\n" "${name#./}" "$m2" done Reported-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
71af708ffd
commit
7fc9de91dd
|
@ -72,7 +72,6 @@ The call blocks until the device reports that the transfer has completed.
|
|||
It also flushes metadata information associated with the file (see
|
||||
.BR stat (2)).
|
||||
|
||||
|
||||
Calling
|
||||
.BR fsync ()
|
||||
does not necessarily ensure
|
||||
|
|
|
@ -13,7 +13,6 @@ getcpu \- determine CPU and NUMA node on which the calling thread is running
|
|||
.sp
|
||||
.BI "int getcpu(unsigned *" cpu ", unsigned *" node \
|
||||
", struct getcpu_cache *" tcache );
|
||||
|
||||
.fi
|
||||
|
||||
.IR Note :
|
||||
|
|
|
@ -10,7 +10,6 @@ io_getevents \- read asynchronous I/O events from the completion queue
|
|||
.BR "#include <linux/aio_abi.h>" " /* Defines needed types */"
|
||||
.BR "#include <linux/time.h>" " /* Defines 'struct timespec' */"
|
||||
|
||||
.sp
|
||||
.BI "int io_getevents(aio_context_t " ctx_id ", long " min_nr ", long " nr ,
|
||||
.BI " struct io_event *" events \
|
||||
", struct timespec *" timeout );
|
||||
|
|
|
@ -32,7 +32,6 @@ kcmp \- compare two processes to determine if they share a kernel resource
|
|||
|
||||
.BI "int kcmp(pid_t " pid1 ", pid_t " pid2 ", int " type ,
|
||||
.BI " unsigned long " idx1 ", unsigned long " idx2 );
|
||||
|
||||
.fi
|
||||
|
||||
.IR Note :
|
||||
|
|
|
@ -49,7 +49,6 @@ killpg \- send signal to a process group
|
|||
Feature Test Macro Requirements for glibc (see
|
||||
.BR feature_test_macros (7)):
|
||||
.in
|
||||
.sp
|
||||
.ad l
|
||||
.TP 4
|
||||
.BR killpg ():
|
||||
|
|
|
@ -34,7 +34,6 @@ outb_p, outw_p, outl_p, inb_p, inw_p, inl_p \- port I/O
|
|||
.nf
|
||||
.B #include <sys/io.h>
|
||||
|
||||
|
||||
.BI "unsigned char inb(unsigned short int " port );
|
||||
.BI "unsigned char inb_p(unsigned short int " port );
|
||||
.BI "unsigned short int inw(unsigned short int " port );
|
||||
|
|
|
@ -482,9 +482,7 @@ The value to use in
|
|||
can be obtained from under debugfs
|
||||
.I tracing/events/*/*/id
|
||||
if ftrace is enabled in the kernel.
|
||||
|
||||
.RE
|
||||
|
||||
.RS
|
||||
If
|
||||
.I type
|
||||
|
@ -527,7 +525,6 @@ for measuring the branch prediction unit
|
|||
.BR PERF_COUNT_HW_CACHE_NODE " (Since Linux 3.0)"
|
||||
for measuring local memory accesses
|
||||
.RE
|
||||
|
||||
.P
|
||||
and
|
||||
.I perf_hw_cache_op_id
|
||||
|
@ -543,7 +540,6 @@ for write accesses
|
|||
.B PERF_COUNT_HW_CACHE_OP_PREFETCH
|
||||
for prefetch accesses
|
||||
.RE
|
||||
|
||||
.P
|
||||
and
|
||||
.I perf_hw_cache_op_result_id
|
||||
|
@ -1110,12 +1106,9 @@ struct perf_event_mmap_page {
|
|||
.fi
|
||||
.in
|
||||
|
||||
|
||||
|
||||
The following looks at the fields in the
|
||||
.I perf_event_mmap_page
|
||||
structure in more detail.
|
||||
|
||||
.RS 4
|
||||
.TP
|
||||
.I version
|
||||
|
|
|
@ -106,7 +106,6 @@ a new thread is created using
|
|||
.BR clone (2)
|
||||
can be changed using
|
||||
.BR setns ().
|
||||
|
||||
.SH EXAMPLE
|
||||
The program below takes two or more arguments.
|
||||
The first argument specifies the pathname of a namespace file in an existing
|
||||
|
|
|
@ -419,7 +419,6 @@ $ \fB./a.out\fP
|
|||
.PP
|
||||
The program source is as follows:
|
||||
|
||||
\&
|
||||
.nf
|
||||
#define _GNU_SOURCE
|
||||
#include <netdb.h>
|
||||
|
|
|
@ -33,7 +33,6 @@ makedev, major, minor \- manage a device number
|
|||
|
||||
.BI "unsigned int major(dev_t " dev );
|
||||
.BI "unsigned int minor(dev_t " dev );
|
||||
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
A device ID consists of two parts:
|
||||
|
|
|
@ -34,7 +34,6 @@ mcheck, mcheck_check_all, mcheck_pedantic, mprobe \- heap consistency checking
|
|||
.B void mcheck_check_all(void);
|
||||
|
||||
.BI "enum mcheck_status mprobe(void *" ptr );
|
||||
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
|
|
|
@ -87,7 +87,6 @@ The use of
|
|||
.IR sys_errlist "[]"
|
||||
is nowadays deprecated.
|
||||
|
||||
|
||||
When a system call fails, it usually returns \-1 and sets the
|
||||
variable
|
||||
.I errno
|
||||
|
|
|
@ -120,7 +120,6 @@ except for the added restriction that
|
|||
should be a multiple of
|
||||
.IR alignment .
|
||||
|
||||
|
||||
The obsolete function
|
||||
.BR valloc ()
|
||||
allocates
|
||||
|
|
|
@ -537,7 +537,6 @@ one of the most frequently used primitives, requires three.
|
|||
Returns one if it succeeds, zero otherwise.
|
||||
.SH SEE ALSO
|
||||
.BR rpc (3)
|
||||
|
||||
.LP
|
||||
The following manuals:
|
||||
.RS
|
||||
|
|
|
@ -119,7 +119,6 @@ The device naming scheme is:
|
|||
/dev/cciss/c1d1p1 Controller 1, disk 1, partition 1
|
||||
/dev/cciss/c1d1p2 Controller 1, disk 1, partition 2
|
||||
/dev/cciss/c1d1p3 Controller 1, disk 1, partition 3
|
||||
|
||||
.fi
|
||||
.SS Files in /proc
|
||||
The files
|
||||
|
@ -149,7 +148,6 @@ For example:
|
|||
Sequential access devices: 0
|
||||
|
||||
cciss/c2d0: 36.38GB RAID 0
|
||||
|
||||
.fi
|
||||
.SS Files in /sys
|
||||
.TP
|
||||
|
|
|
@ -85,7 +85,6 @@ _
|
|||
\fBfd\fP\fIn\fP\fBh1494\fP 1494K 83 18 2 72
|
||||
\fBfd\fP\fIn\fP\fBh1600\fP 1600K 80 20 2 92
|
||||
.TE
|
||||
.PP
|
||||
3.5 inch double density device files:
|
||||
.TS
|
||||
lw(1i) l l l l l.
|
||||
|
|
|
@ -48,7 +48,6 @@ driver supports the following Smart Array boards:
|
|||
Smart Array P712m
|
||||
Smart Array P711m
|
||||
StorageWorks P1210m
|
||||
|
||||
.fi
|
||||
.SS Configuration details
|
||||
To configure HP Smart Array controllers,
|
||||
|
|
|
@ -491,7 +491,6 @@ If this option is false and the drive uses a fixed block size, then
|
|||
all write operations must be for a multiple of the block size.
|
||||
This option must be set false to write reliable multivolume archives.
|
||||
.TP
|
||||
.TP
|
||||
.BR MT_ST_ASYNC_WRITES " (Default: true)"
|
||||
When this option is true, write operations return immediately without
|
||||
waiting for the data to be transferred to the drive if the data fits
|
||||
|
|
|
@ -142,7 +142,6 @@ struct acct_v3 {
|
|||
comp_t ac_swaps; /* Number of swaps (unused) */
|
||||
char ac_comm[ACCT_COMM]; /* Command name */
|
||||
};
|
||||
|
||||
.fi
|
||||
.in
|
||||
.SH VERSIONS
|
||||
|
|
|
@ -87,7 +87,6 @@ precedence 2002::/16 30
|
|||
precedence ::/96 20
|
||||
precedence ::ffff:0:0/96 10
|
||||
.fi
|
||||
|
||||
.\" .SH AUTHOR
|
||||
.\" Ulrich Drepper <drepper@redhat.com>
|
||||
.\"
|
||||
|
|
|
@ -104,7 +104,6 @@ The default configuration corresponds to the following configuration file:
|
|||
NETID_AUTHORITATIVE=FALSE
|
||||
SERVICES_AUTHORITATIVE=FALSE
|
||||
SETENT_BATCH_READ=FALSE
|
||||
|
||||
.\" .SH AUTHOR
|
||||
.\" Ulrich Drepper <drepper@redhat.com>
|
||||
.\"
|
||||
|
|
|
@ -1954,7 +1954,6 @@ set), and finally removed altogether since Linux 2.6.17.
|
|||
.\" .TP
|
||||
.\" .IR /proc/sched_debug " (since Linux 2.6.23)"
|
||||
.\" See also /proc/[pid]/sched
|
||||
|
||||
.TP
|
||||
.IR /proc/profile " (since Linux 2.4)"
|
||||
This file is present only if the kernel was booted with the
|
||||
|
@ -1967,7 +1966,6 @@ on some architectures,
|
|||
writing a binary integer "profiling multiplier" of size
|
||||
.IR sizeof(int)
|
||||
resets the profiling interrupt frequency.
|
||||
|
||||
.TP
|
||||
.I /proc/scsi
|
||||
A directory with the
|
||||
|
|
|
@ -464,7 +464,6 @@ and
|
|||
by writing (respectively, zero and nonzero values) to the
|
||||
.I /proc/sys/net/ipv4/ip_no_pmtu_disc
|
||||
file.
|
||||
|
||||
.TS
|
||||
tab(:);
|
||||
c l
|
||||
|
|
|
@ -185,7 +185,6 @@ _
|
|||
375 253 FD ý CYRILLIC CAPITAL LETTER SHCHA
|
||||
376 254 FE þ CYRILLIC CAPITAL LETTER CHE
|
||||
377 255 FF ÿ CYRILLIC CAPITAL LETTER HARD SIGN
|
||||
|
||||
.TE
|
||||
.SH SEE ALSO
|
||||
.BR ascii (7),
|
||||
|
|
|
@ -122,7 +122,6 @@ IFF_LOWER_UP:Driver signals L1 up (since Linux 2.6.17)
|
|||
IFF_DORMANT:Driver signals dormant (since Linux 2.6.17)
|
||||
IFF_ECHO:Echo sent packets (since Linux 2.6.25)
|
||||
|
||||
|
||||
.TE
|
||||
.ad
|
||||
Setting the active flag word is a privileged operation, but any
|
||||
|
|
|
@ -211,7 +211,6 @@ Note that
|
|||
requires the
|
||||
.B CAP_NET_ADMIN
|
||||
capability or an effective UID of 0.
|
||||
|
||||
.na
|
||||
.TS
|
||||
tab(:);
|
||||
|
|
|
@ -169,7 +169,6 @@ flush, muldiv, stbar, swap, ultra3, v9, v9v, v9v2
|
|||
dfp, eimm, esan3, etf3enh, g5, highgprs, hpage, ldisp, msa, stfle,
|
||||
z900, z990, z9-109, z10, zarch
|
||||
.TP
|
||||
.TP
|
||||
.B x86 (32-bit only)
|
||||
acpi, apic, clflush, cmov, cx8, dts, fxsr, ht, i386, i486, i586, i686, mca, mmx,
|
||||
mtrr, pat, pbe, pge, pn, pse36, sep, ss, sse, sse2, tm
|
||||
|
|
Loading…
Reference in New Issue