Commit Graph

9441 Commits

Author SHA1 Message Date
Peng Haitao 9597ae2b14 wcstoimax.3: ATTRIBUTES: Note functions that are thread safe with exceptions
The functions wcstoimax() and wcstoumax() are thread safe with
exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-12-12 16:16:07 +13:00
Peng Haitao 83e0c152e3 wcsstr.3: ATTRIBUTES: Note function that is thread-safe
The function wcsstr() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-12-12 16:16:07 +13:00
Peng Haitao a958468abc wcsspn.3: ATTRIBUTES: Note function that is thread-safe
The function wcsspn() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-12-12 16:16:07 +13:00
Peng Haitao 27c1d76a9d wmemset.3: ATTRIBUTES: Note function that is thread-safe
The function wmemset() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-12-12 16:16:07 +13:00
Peng Haitao c70b981bfb wmemmove.3: ATTRIBUTES: Note function that is thread-safe
The function wmemmove() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-12-12 16:16:07 +13:00
Peng Haitao 851daa08cb wmemcpy.3: ATTRIBUTES: Note function that is thread-safe
The function wmemcpy() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-12-12 16:16:07 +13:00
Michael Kerrisk 6f6a484016 ld.so.8: Fix crufty wording in one sentence
Reported-by: Alfred Agrell <alfred@agrell.info>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-12-12 16:16:01 +13:00
Michael Kerrisk b466283adc ftw.3: Explain probable cause of FTW_NS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-15 08:04:47 +13:00
Michael Kerrisk 0f21c3e2e0 ftw.3: nftw() visits directories with FTW_D if FTW_DEPTH was not specified
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-15 07:59:04 +13:00
Michael Kerrisk 9ab0de3c43 tty_ioctl.4: Note that 'arg' should be 0 in the usual case when using TIOCSCTTY
Reported-by: Liu Jiaming <storypku@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-12 16:48:42 +13:00
Michael Kerrisk cb476d8850 tty_ioctl.4: Rework text on root to discuss just in terms of capabilities
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-12 16:46:36 +13:00
Michael Kerrisk c323f3a1d2 tty_ioctl.4: Minor change: break TIOCSCTTY into logically separate pieces
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-12 16:44:16 +13:00
Michael Kerrisk 2534ef153e getaddrinfo.3: Explain one use case for AI_ADDRCONFIG
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-08 14:24:57 +13:00
Michael Kerrisk bf68db183b getaddrinfo.3: Highlight difference in ai_flags when hints==NULL
NOTES already described how glibc differs from POSIX.
Add a pointer to that text from the point in DESCRIPTION
where hints==NULL is discussed.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-08 14:18:44 +13:00
Michael Kerrisk 210cded680 poll.2: Clarify meaning of events==0
events==0 does not mean that revents is always returned as
zero. The "output only" events (POLLHUP, POLLERR, POLLNVAL)
can still be returned.

See https://bugzilla.kernel.org/show_bug.cgi?id=61911

Reported-by: Paolo Bonzini <bonzini@gnu.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-08 07:13:19 +13:00
Michael Kerrisk 82f955d28a ioctl.2: 'request' argument is typed as 'unsigned long' in glibc
See https://bugzilla.kernel.org/show_bug.cgi?id=42705

Reported-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reported-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-08 06:43:47 +13:00
Michael Kerrisk ef3fbada32 mq_receive.3: msg_len must be greater than *or equal to* mq_msgsize
See https://bugzilla.kernel.org/show_bug.cgi?id=64571

Reported-by: janh <a0vhv@t-online.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-08 06:43:47 +13:00
Michael Kerrisk e9bd9b2ca9 perf_event_open.2: tstamp + white space fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-08 06:43:46 +13:00
Vince Weaver 135cba8b70 perf_event_open.2: Linux 3.12 rdpmc/mmap
It turns out that the perf_event mmap page rdpmc/time setting was
broken, dating back to the introduction of the feature.  Due
to a mistake with a bitfield, two different values mapped to
the same feature bit.

A new somewhat backwards compatible interface was introduced
in Linux 3.12.  A much longer report on the issue can be found
here:
   https://lwn.net/Articles/567894/

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-08 06:43:46 +13:00
Vince Weaver a0dcc8dd16 perf_event_open.2: Linux 3.12 adds PERF_EVENT_IOC_ID
A new perf_event related ioctl, PERF_EVENT_IOC_ID, was added
in Linux 3.12.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-08 06:43:46 +13:00
Vince Weaver 7480dabbeb perf_event_open.2: Linux 3.12 adds PERF_SAMPLE_IDENTIFIER
A new PERF_SAMPLE_IDENTIFIER sample type was added in Linux 3.12.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-08 06:43:46 +13:00
Vince Weaver dab3845542 perf_event_open.2: PERF_COUNT_SW_DUMMY support
Support for the PERF_COUNT_SW_DUMMY event type was added in
Linux 3.12.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-08 06:43:46 +13:00
Michael Kerrisk 4d4cecd6fa fallocate.2: tfix + tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-08 06:43:46 +13:00
Christoph Hellwig c166fac5cb fallocate.2: Clarify the zeroing behavior
fallocate() zeroes only space that did not previously contain
data, but leaves existing data untouched.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-08 06:43:39 +13:00
Peng Haitao 500d891eb2 wmemcmp.3: ATTRIBUTES: Note function that is thread-safe
The function wmemcmp() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-08 06:00:16 +13:00
Peng Haitao 7f1c8d16de wmemchr.3: ATTRIBUTES: Note function that is thread-safe
The function wmemchr() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-08 05:59:42 +13:00
Peng Haitao b2e49efdc6 wcwidth.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function wcwidth() is thread safe with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-08 05:59:21 +13:00
Peng Haitao 060d7a6e95 wctype.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function wctype() is thread safe with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-08 05:59:14 +13:00
Peng Haitao afe8b22860 wctrans.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function wctrans() is thread safe with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-08 05:58:03 +13:00
David Prévot 1fb3fb8b17 fexecve.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-08 05:54:36 +13:00
Michael Kerrisk 4eec160988 send.2: RETURN VALUE: these calls return number of bytes (not characters) sent
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-04 18:58:07 +13:00
Michael Kerrisk 52598da4b9 tcp.7: Fix (nontrivial) wordo in discussion of MSG_TRUNC
s/MSG_PEEK/MSG_TRUNC/

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-04 17:42:18 +13:00
Michael Kerrisk 4256bf84e5 recv.2: Remove out-of-date statement that UNIX domain does not support MSG_TRUNC
Should have removed that sentence as part of
commit a25601b48b

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-11-04 17:14:07 +13:00
Michael Kerrisk bcd49f31a8 symlink.2: Further fine tuning of argument names
Follow-up to f2ae6dde0c
See https://sourceware.org/bugzilla/show_bug.cgi?id=16073

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-30 14:53:01 +13:00
David Prévot d6af98f849 perf_event_open.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-30 14:46:19 +13:00
Vince Weaver e6cf569408 perf_event_open.2: PERF_EVENT_IOC_PERIOD update
The PERF_EVENT_IOC_PERIOD ioctl was broken until 2.6.36,
and it turns out that the ARM architecture has some
differing behavior too.

Reported-by: Andreas Sandberg <andreas.sandberg@it.uu.se>
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-30 14:45:11 +13:00
Peng Haitao 40b42b6f43 futimes.3: ATTRIBUTES: Note functions that are thread-safe
The functions futimes() and lutimes() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-30 14:44:33 +13:00
Peng Haitao f1915e1ee3 erfc.3: wfix
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-30 14:44:05 +13:00
Peng Haitao c34520675c erfc.3: ATTRIBUTES: Note functions that are thread-safe
The functions erfc(), erfcf() and erfcl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-30 14:43:42 +13:00
Peng Haitao 43b7b5ee23 erf.3: ATTRIBUTES: Note functions that are thread-safe
The functions erf(), erff() and erfl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-30 14:43:26 +13:00
Peng Haitao 51f3762661 difftime.3: ATTRIBUTES: Note function that is thread-safe
The function difftime() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-30 14:42:54 +13:00
Peng Haitao be63524ed3 daemon.3: ATTRIBUTES: Note function that is thread-safe
The function daemon() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-30 14:42:28 +13:00
Michael Kerrisk 297c144f01 setreuid.2: Small clarification to description of when saved set-user-ID is set
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-29 00:25:41 +13:00
Peng Haitao 18c5047e79 bzero.3: ATTRIBUTES: Note function that is thread-safe
The function bzero() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:26:10 +13:00
Peng Haitao 2be8b1b283 termios.3: ATTRIBUTES: Note functions that are thread-safe
The functions tcgetattr(), tcsetattr(), tcsendbreak(),
tcdrain(), tcflush(), tcflow(), cfmakeraw(), cfgetispeed(),
cfgetospeed(), cfsetispeed(), cfsetospeed() and cfsetspeed()
are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:26:05 +13:00
Peng Haitao 1d4be868bd bsd_signal.3: ATTRIBUTES: Note function that is thread-safe
The function bsd_signal() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:25:59 +13:00
Peng Haitao d1dcc57fba bcopy.3: ATTRIBUTES: Note function that is thread-safe
The function bcopy() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:25:53 +13:00
Peng Haitao 3d678a4c57 bcmp.3: ATTRIBUTES: Note function that is thread-safe
The function bcmp() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:25:40 +13:00
Peng Haitao a2f0602bdd expm1.3: ATTRIBUTES: Note functions that are thread-safe
The functions expm1(), expm1f() and expm1l() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:24:40 +13:00
Peng Haitao ad6be0a409 cos.3: ATTRIBUTES: Note functions that are thread-safe
The functions cos(), cosf() and cosl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:24:13 +13:00