Zeng Linggang
57ba9747f4
getrlimit.2: ATTRIBUTES: Note functions that are thread-safe
...
After research, We think prlimit() is thread-safe. But, there
is not marking of prlimit() in glibc document.
getrlimit() and setrlimit() match glibc markings.
- getrlimit: MT-Safe
- setrlimit: MT-Safe
- prlimit: MT-Safe
Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-13 17:15:06 +02:00
Zeng Linggang
bad52bdf9a
getifaddrs.3: ATTRIBUTES: Note functions that are thread-safe
...
After research, We think getifaddrs() and freeifaddrs() are not
thread-safe. But, there is not markings of getifaddrs() and
freeifaddrs() in glibc document.
- getifaddrs: MT-Safe
- freeifaddrs: MT-Safe
Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-13 17:14:58 +02:00
Marko Myllynen
3dc4e84019
locale.5: Add iconv(1) reference
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-13 17:11:36 +02:00
Michael Kerrisk
b8a2e38e00
locale.5: ffix
...
Reported-by: Marko Myllynen <myllynen@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-13 16:55:27 +02:00
Michael Kerrisk
f18d16a9c5
repertoiremap.5: ffix
...
Reported-by: Marko Myllynen <myllynen@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-13 16:52:07 +02:00
Marko Myllynen
979494409a
proc.5: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-13 14:05:40 +02:00
Michael Kerrisk
4c3d165691
MB_LEN_MAX.3: MB_LEN_MAX is 16 in modern glibc versions
...
Reported-by: Pádraig Brady <P@draigBrady.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-13 13:49:02 +02:00
Michael Kerrisk
302a5d707c
MB_LEN_MAX.3: Clarify meaning of MB_LEN_MAX
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-13 13:45:55 +02:00
Michael Kerrisk
d3b019c1b0
send.2: Expand on subtleties of MSG_NOSIGNAL versus ignoring SIGPIPE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-13 13:21:44 +02:00
Michael Kerrisk
19aecb7eb0
send.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-13 13:21:44 +02:00
Michael Kerrisk
630b4cac33
recv.2, send.2: Explain some subtleties of MSG_DONTWAIT versus O_NONBLOCK
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-13 13:21:44 +02:00
Michael Kerrisk
b6c261c4db
iopl.2: Remove some historical libc5 and glibc 1 details
...
These details are ancient, and long ago ceased to be relevant.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 21:11:17 +02:00
Michael Kerrisk
35a2f8868e
locale.5: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:32:27 +02:00
Michael Kerrisk
c42df71022
locale.7: Minor tweaks
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:28:30 +02:00
Marko Myllynen
d8826256c6
locale.5: Fix country_isbn format
...
Both plain numbers and Unicode code points are used in glibc locales but checking the code reveals that country_isbn is handled like the rest of its category expect for country_num which was clarified earlier.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:42 +02:00
Marko Myllynen
1f4f51b5b3
locale.5: Document class in LC_CTYPE
...
See e.g. the locale zh_CN and
http://en.cppreference.com/w/cpp/string/wide/towctrans
http://en.cppreference.com/w/cpp/string/wide/wctrans
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:42 +02:00
Marko Myllynen
6077885a06
locale.5: Document default_missing
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:42 +02:00
Marko Myllynen
4e3b0c16e1
locale.5: Document character transliteration
...
See e.g. da_DK for reference.
(Not sure should we actually provide an example here?)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:42 +02:00
Marko Myllynen
f863ce4f60
locale.5: Document map "totitle"
...
See e.g. locales/i18n for reference.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:38 +02:00
Marko Myllynen
af7ad104e1
locale.5: Copy is not exclusive in LC_CTYPE and LC_COLLATE
...
See e.g. da_DK for reference.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:10 +02:00
Marko Myllynen
0ef30d8d20
locale.5: Document map to_inpunct, map to_outpunct
...
See e.g. fa_IR for reference.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:06 +02:00
Marko Myllynen
89257a53db
locale.5: Document outdigit and alt_digits
...
See e.g. fa_IR for reference.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:01 +02:00
Marko Myllynen
ae91a0d63c
locale.5: Document charclass and charconv
...
See e.g. the locales ja_JP and ko_KR and
http://en.cppreference.com/w/cpp/string/wide/towctrans
http://en.cppreference.com/w/cpp/string/wide/wctrans
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:23:55 +02:00
Marko Myllynen
3d6d6fac8b
locale.7: LC_CTYPE determines transliteration rules on glibc systems
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:16:35 +02:00
Michael Kerrisk
55bd9495b2
ptrace.2: PTRACE_O_TRACEEXIT clarification
...
Reported-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 12:43:48 +02:00
Michael Kerrisk
d7d10e1048
popen.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 11:04:57 +02:00
Michael Kerrisk
307625157a
popen.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 11:03:34 +02:00
Michael Kerrisk
e82a01da63
perror.3: Some wording improvements and clarifications
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 11:02:23 +02:00
Michael Kerrisk
95748d5349
asprintf.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 07:07:21 +02:00
Michael Kerrisk
77548009f5
pread.2, read.2, readv.2, sendfile.2, write.2: Clarify that Linux limits transfers to a maximum of 0x7ffff000 bytes
...
See https://bugs.debian.org/629994 and
https://bugs.debian.org/630029 .
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 07:07:21 +02:00
Michael Kerrisk
9a12dd5031
pread.2: Rewrite RETURN VALUE section
...
(Also drop the text on pwrite() returning zero; that seems bogus.)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 07:07:21 +02:00
Michael Kerrisk
7b0d1eaa6d
readv.2: Remove BUGS heading
...
The text on mixinf I/O syscalls and stdio is a general point
of behavior. It's not a bug as such.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 07:03:02 +02:00
Christoph Thompson
7e8f0b728c
Makefile: Add support for compressing manual pages with 'xz'
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 12:23:56 +02:00
Michael Kerrisk
0b4ac98897
execve.2: srcfix: Add FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 12:14:54 +02:00
Michael Kerrisk
9f629381c9
open.2, read.2, write.2: Clarify that O_NONBLOCK is a no-op for regular files and block devices
...
Reported-by: Mike Hayward <hayward@loup.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 12:03:43 +02:00
Michael Kerrisk
eee5da1663
read.2: Minor fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 11:39:38 +02:00
Michael Kerrisk
403b78f89e
open.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 11:30:00 +02:00
Michael Kerrisk
0b8a39ad9f
gethostbyname.3: Remove mention of IPv6 addresses, which are not supported
...
As reported by Laszlo Ersek:
gethostbyname(3) fails to resolve the IPv6 address "::1",
but the manual page says: "If name is an IPv4 or IPv6 address,
no lookup is performed and gethostbyname() simply copies name
into the h_name field [...]".
Debian bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455762
glibc bug report:
http://sourceware.org/bugzilla/show_bug.cgi?id=5479
SUSv3 link for gethostbyname(3):
http://www.opengroup.org/onlinepubs/000095399/functions/gethostbyname.html
It seems that the glibc behavior is conformant, and the manual
page is in error.
Reported-by: Laszlo Ersek <lacos@caesar.elte.hu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 11:11:21 +02:00
Michael Kerrisk
7f32558158
gethostbyname.3: tfix + wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 11:07:48 +02:00
Michael Kerrisk
02906043a4
ioprio_set.2: Document meaning of ioprio==0
...
Reported-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 10:09:05 +02:00
Michael Kerrisk
a311ffd05b
ioprio_set.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 09:39:49 +02:00
Michael Kerrisk
8ebf2cfb42
ioprio_set.2: Minor fix: change 'hda' to 'sda' in examples
...
These days, we're more likely to see 'sd' than 'hd' disk devices.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 09:32:42 +02:00
Michael Kerrisk
7e5d08eb08
ioprio_set.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 09:31:25 +02:00
Michael Kerrisk
4965810a6b
ioprio_set.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 09:26:41 +02:00
Michael Kerrisk
eb24aedc69
execve.2: Elaborate on envp/argv as NULL behavior
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 09:10:19 +02:00
Michael Kerrisk
097547580e
execve.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-11 09:10:09 +02:00
Michael Kerrisk
e624ea579a
__ppc_get_timebase.3: Minor tweaks
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-10 13:49:29 +02:00
Tulio Magno Quites Machado Filho
42d7fb6cce
__ppc_get_timebase.3: New page documenting __ppc_get_timebase()
...
Glibc 2.16 was released with a new function for the Power
architecture that can read its Time Base Register.
Signed-off-by: Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-10 13:47:34 +02:00
文剑
4d45036a35
packet.7: Fix description of binding a packet socket to an interface
...
Reported-by: Cortland Setlow <cortland.setlow@gmail.com>
Signed-off-by: Jian Wen <wenjianhn@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-10 13:12:57 +02:00
Michael Kerrisk
2174e8e353
mem.4: Minor wording and formatting fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-10 12:50:17 +02:00