summaryrefslogtreecommitdiff
path: root/man2/getcpu.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2013-02-25 07:05:55 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-02-25 07:05:55 +0100
commit7fc9de91dd63488912e3271f88f9864c70d6dd30 (patch)
treee63fb7b46181ab4d772dca60baa8002a8b3432c3 /man2/getcpu.2
parent71af708ffd8e77e9d4c0c0a1e77f733b70004b87 (diff)
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>
Diffstat (limited to 'man2/getcpu.2')
-rw-r--r--man2/getcpu.21
1 files changed, 0 insertions, 1 deletions
diff --git a/man2/getcpu.2 b/man2/getcpu.2
index 37e458c5a..347c37b4a 100644
--- a/man2/getcpu.2
+++ b/man2/getcpu.2
@@ -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 :