Michael Kerrisk
76c637e18c
getcpu.2, getunwind.2, kcmp.2, mmap.2, perf_event_open.2, perfmonctl.2, quotactl.2, restart_syscall.2, btree.3, dbopen.3, hash.3, recno.3, sched_getcpu.3, elf.5, bootparam.7, hier.7, netdevice.7, rtnetlink.7: wfix: "xxxx specific" ==> "xxxx-specific"
2014-01-11 06:16:28 +13:00
Michael Kerrisk
d840e4faf3
arp.7: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-11 06:10:39 +13:00
Michael Kerrisk
f2cc5c88c2
pthread_setname_np.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-11 06:06:57 +13:00
Simon Paillard
fd00f12ce5
reboot.2: tfix (double word) and minor format issue
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-11 05:47:54 +13:00
Michael Kerrisk
6d42f0dc9c
dlopen.3: Fix description of dli_sname
...
See https://sourceware.org/bugzilla/show_bug.cgi?id=16262
Reported-by: Stephen Kell <srk31@srcf.ucam.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-08 14:07:34 +13:00
Michael Kerrisk
d72a31c6f0
adjtime.3, getw.3: srcfix: Start new sentence on new source line
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-08 13:54:41 +13:00
Michael Kerrisk
dbb73b9a3d
setjmp.3: BSD setjmp() semantics go away in glibc 2.19
...
Reviewed-by: Joseph S. Myers <joseph@codesourcery.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-08 12:14:21 +13:00
Michael Kerrisk
0588c9a30f
sigpause.3: BSD sigpause() goes away in glibc 2.19
...
Reviewed-by: Joseph S. Myers <joseph@codesourcery.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-08 12:14:21 +13:00
Michael Kerrisk
38029932e7
sigpause.3: Correct feature text macro requirements
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-08 12:14:14 +13:00
Michael Kerrisk
ded44f9b7d
setpgid.2: BSD getpgrp() and setpgrp() go away in glibc 2.19
...
Reviewed-by: Joseph S. Myers <joseph@codesourcery.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-08 12:14:13 +13:00
Michael Kerrisk
ba694dd0b0
feature_test_macros.7: Document _DEFAULT_SOURCE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-08 12:14:13 +13:00
Michael Kerrisk
0385c88eda
feature_test_macros.7: From glibc 2.19, _BSD_SOURCE no longer causes __FAVOR_BSD
...
Starting with glibc 2.19, _BSD_SOURCE no longer causes BSD
definitions to be favored in cases where standards conflict.
Reviewed-by: Joseph S. Myers <joseph@codesourcery.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-08 12:14:04 +13:00
Michael Kerrisk
b60327309b
scanf.3: Improve discussion of obsolete 'a' dynamic allocation modifier
...
Reported-by: Ondřej Bílka <neleai@seznam.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-08 11:57:45 +13:00
Michael Kerrisk
ac16fdff8a
getline.3: Correct description of how '*n' is used when '*lineptr' == NULL
...
See https://sourceware.org/bugzilla/show_bug.cgi?id=5468
Reported-by: Luke Hutchison <luke.hutch@mit.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-08 10:02:50 +13:00
Michael Kerrisk
9f0e82b451
man-pages.7: s/Real hyphen/Real minus/
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-08 09:35:27 +13:00
Michael Kerrisk
a3e50dc194
ld.so.8: Default output file for D_DEBUG is stderr not stdout
...
See https://sourceware.org/bugzilla/show_bug.cgi?id=6874
Reported-by: Matthias Klose <doko@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-08 09:31:57 +13:00
Michael Kerrisk
30410190a2
execve.2: Add further cases to EFAULT error
...
See https://sourceware.org/bugzilla/show_bug.cgi?id=16402
Reported-by: Marco Dione <mdione@grulic.org.ar>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-08 07:52:49 +13:00
Peng Haitao
38d62724b2
tanh.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions tanh(), tanhf() and tanhl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-07 22:42:44 +13:00
Peng Haitao
7501f871fd
tan.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions tan(), tanf() and tanl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-07 00:48:47 +13:00
Peng Haitao
2b2d07c0c7
sysv_signal.3: ATTRIBUTES: Note function that is thread-safe
...
The function sysv_signal() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-07 00:48:40 +13:00
Peng Haitao
c15158e2e8
towupper.3: ATTRIBUTES: Note function that is thread safe with exceptions
...
The function towupper() is thread safe with exceptions.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-07 00:48:33 +13:00
Peng Haitao
1c9b2a60ff
towlower.3: ATTRIBUTES: Note function that is thread safe with exceptions
...
The function towlower() is thread safe with exceptions.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-07 00:48:24 +13:00
Michael Kerrisk
7020f14d3e
regex.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-07 00:47:47 +13:00
Yuri Kozlov
75cd78ea10
regex.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-07 00:47:15 +13:00
Michael Kerrisk
476d2ddea6
getauxval.3: Added FIXME for AT_HWCAP2
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-06 19:40:30 +13:00
Michael Kerrisk
9730fd8493
man-pages.7: Various improvements to style guide
...
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-06 12:50:12 +13:00
Michael Kerrisk
3487d63b4c
dlopen.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 14:59:13 +13:00
Michael Kerrisk
f7a6a3b42b
pthread_getcpuclockid.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 13:30:44 +13:00
Michael Kerrisk
68ed9d7228
if_nameindex.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 13:30:41 +13:00
Michael Kerrisk
f30b741526
chown.2, clone.2, mmap.2, pipe.2, ftw.3, mq_notify.3: Add "Program source" subheading under EXAMPLE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 13:30:41 +13:00
Michael Kerrisk
22617a74a7
mprotect.2: Add "static" to global variable in example program
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 13:30:35 +13:00
Michael Kerrisk
3d6efadb2c
rtime.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 13:22:12 +13:00
Michael Kerrisk
2ba8b63e9f
hsearch.3: Add "static" to global variable in example program
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 13:20:09 +13:00
Michael Kerrisk
57b1aaa4a7
getsubopt.3: ffix (K&R style in example program)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 13:19:04 +13:00
Michael Kerrisk
571767ca38
perf_event_open.2: Add "static" qualifier to function in example program
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 13:12:32 +13:00
Michael Kerrisk
0d89715efc
tsearch.3: Add "static" to global variables and functions in example program
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 13:08:57 +13:00
Michael Kerrisk
94daa6cf33
strftime.3: Add "Program source" subsection heading
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 13:07:30 +13:00
Michael Kerrisk
722d8902ef
stpcpy.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 13:06:45 +13:00
Michael Kerrisk
5c91a6243a
rtime.3: Add "static" qualifier to global variable in example program
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 13:04:30 +13:00
Michael Kerrisk
872127dd8d
rtime.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 13:03:27 +13:00
Michael Kerrisk
9a141bfb1f
get_mempolicy.2, mbind.2, mlock.2, set_mempolicy.2, bootparam.7, packet.7: grfix: s/memory mapped/memory-mapped/ when used attributively
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 11:00:31 +13:00
Michael Kerrisk
084cf3d1cd
packet.7: wfix: s/network order/network byte order/
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 10:52:45 +13:00
Michael Kerrisk
342639d9e9
packet.7: Add kernel version numbers for PACKET_VERSION and PACKET_TIMESTAMP
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 10:51:42 +13:00
Michael Kerrisk
c412686c05
packet.7: Minor fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 10:44:33 +13:00
Willem de Bruijn
dbb4f7516b
packet.7: Document fanout, ring, and auxiliary options
...
The packet socket manual page does not list all socket options.
This patch adds descriptions of the common packet socket options
PACKET_AUXDATA, PACKET_FANOUT, PACKET_RX_RING, PACKET_STATISTICS,
PACKET_TX_RING
and the ring-specific options
PACKET_LOSS, PACKET_RESERVE, PACKET_TIMESTAMP, PACKET_VERSION
It does not yet add descriptions for
PACKET_COPY_THRESH, PACKET_HDRLEN, PACKET_ORIGDEV,
PACKET_TX_HAS_OFF, PACKET_TX_TIMESTAMP, PACKET_VNET_HDR
It tries to balance being informative with exposing kernel detail
that is unlikely to be used by most readers or that may change
frequently. For implementation details, the manpage points to the
documentation in kernel Documentation/networking. Let me know if
options should be added or removed.
Source: PACKET_FANOUT, PACKET_RX_RING and PACKET_VERSION are in
/tools/testing/net/psock_fanout.c in the latest Linux kernel source
tree. PACKET_STATISTICS was in the first version of that test.
PACKET_TX_RING I have used elsewhere. The other options are based
on reading kernel code.
[Very minor fixups. -dborkman]
Acked-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 10:31:10 +13:00
Michael Kerrisk
65b1e0ed19
strstr.3: Clarify RETURN VALUE: s/substring/located substring/
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 00:34:01 +13:00
Michael Kerrisk
4d9fbd4e6e
strsep.3: Clarify description
...
The use of "symbols" in the existing description is confusing;
it's "bytes". Other fixes as well.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 00:34:01 +13:00
Michael Kerrisk
dd827c27b0
string.3: Fixes and enhancements to Moritz Str?be's patch
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-05 00:34:01 +13:00
Moritz 'Morty' Strübe
0612e12ee7
string.3: Add short description of the functions
...
It is helpful to have a short description about what the different
functions in string.h do.
Signed-off-by: Moritz 'Morty' Strübe <morty@gmx.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-04 23:20:02 +13:00
Michael Kerrisk
aa89a58e5a
man-pages.7: Minor fixes
...
Reported-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-04 00:42:09 +13:00