Simon Paillard
8f7f19ade9
mcheck.3: typo in compiler flag
...
See http://bugs.debian.org/732464
Reported-by: Raphael Geissert <geissert@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-12-27 07:27:34 +13:00
Peng Haitao
1c2794e784
towctrans.3: ATTRIBUTES: Note function that is thread-safe
...
The function towctrans() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-12-27 07:26:48 +13:00
Peng Haitao
0462e39274
toupper.3: ATTRIBUTES: Note functions that are thread safe with exceptions
...
The functions toupper() and tolower() 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-27 07:26:03 +13:00
Peng Haitao
ec3ca30fe7
toascii.3: wfix
...
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-12-27 07:25:41 +13:00
Peng Haitao
9a677ed639
toascii.3: ATTRIBUTES: Note function that is thread-safe
...
The function toascii() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-12-27 07:25:35 +13:00
Peng Haitao
2b50e9609d
ualarm.3: ATTRIBUTES: Note function that is thread-safe
...
The function ualarm() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-12-27 07:23:48 +13:00
Peng Haitao
4d46869843
sincos.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions sincos(), sincosf() and sincosl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-12-27 07:23:14 +13:00
Michael Kerrisk
42f05d6438
futex.2, send.2, setreuid.2, malloc.3, tcp.7: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-12-12 20:40:15 +13:00
Peng Haitao
9d5acc264b
wcpcpy.3: ATTRIBUTES: Note function that is thread-safe
...
The function wcpcpy() 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:08 +13:00
Peng Haitao
0d7bdb2a57
stdarg.3: ATTRIBUTES: Note macros that are thread-safe
...
The macros va_start(), va_arg(), va_end() and va_copy() are
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:08 +13:00
Peng Haitao
e0fc49a497
usleep.3: ATTRIBUTES: Note function that is thread-safe
...
The function usleep() 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:08 +13:00
Peng Haitao
d17763e0a6
unlockpt.3: ATTRIBUTES: Note function that is thread-safe
...
The function unlockpt() 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:08 +13:00
Peng Haitao
b611d27285
ungetwc.3: ATTRIBUTES: Note function that is thread-safe
...
The function ungetwc() 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:08 +13:00
Michael Kerrisk
078ac12da9
confstr.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-12-12 16:16:08 +13:00
Yuri Kozlov
8830fd6498
catopen.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-12-12 16:16:08 +13:00
Peng Haitao
d32f180238
wcscspn.3: ATTRIBUTES: Note function that is thread-safe
...
The function wcscspn() 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:08 +13:00
Peng Haitao
07e9b4f956
wcscpy.3: ATTRIBUTES: Note function that is thread-safe
...
The function wcscpy() 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:08 +13:00
Peng Haitao
0c54d3bb44
wcscmp.3: ATTRIBUTES: Note function that is thread-safe
...
The function wcscmp() 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:08 +13:00
Peng Haitao
ef7f6e8f0a
wcschr.3: ATTRIBUTES: Note function that is thread-safe
...
The function wcschr() 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
05fcab7407
wcscat.3: ATTRIBUTES: Note function that is thread-safe
...
The function wcscat() 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
0ba1ba74ef
wcsncasecmp.3: ATTRIBUTES: Note function that is thread safe with exceptions
...
The function wcsncasecmp() is 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
f4fe579b08
wcsnlen.3: ATTRIBUTES: Note function that is thread-safe
...
The function wcsnlen() 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
c126be2277
wcsncpy.3: ATTRIBUTES: Note function that is thread-safe
...
The function wcsncpy() 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
c5880ed97d
wcsncmp.3: ATTRIBUTES: Note function that is thread-safe
...
The function wcsncmp() 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
2d7fd8d857
wcsncat.3: ATTRIBUTES: Note function that is thread-safe
...
The function wcsncat() 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
fde423dcfd
wcscasecmp.3: ATTRIBUTES: Note function that is thread safe with exceptions
...
The function wcscasecmp() is 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
4b69e1bbbc
wcslen.3: ATTRIBUTES: Note function that is thread-safe
...
The function wcslen() 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
97bcd00d36
wcsrchr.3: ATTRIBUTES: Note function that is thread-safe
...
The function wcsrchr() 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
6142537162
wcspbrk.3: ATTRIBUTES: Note function that is thread-safe
...
The function wcspbrk() 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
3a87fa937e
wcswidth.3: ATTRIBUTES: Note function that is thread safe with exceptions
...
The function wcswidth() is 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
2721cf12de
wcstok.3: ATTRIBUTES: Note function that is thread-safe
...
The function wcstok() 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
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
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
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
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
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
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
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
Peng Haitao
a5398d89ac
asinh.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions asinh(), asinhf() and asinhl() 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:23:48 +13:00
Peng Haitao
a2d1783de2
copysign.3: wfix
...
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:23:24 +13:00
Peng Haitao
e244bc6982
copysign.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions copysign(), copysignf() and copysignl() 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:23:04 +13:00
Peng Haitao
843204f875
atoi.3: ATTRIBUTES: Note functions that are thread safe with exceptions
...
The functions atoi(), atol() and atoll() are thread safe with
exceptions.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:22:49 +13:00
Peng Haitao
b5dedda7d3
atof.3: ATTRIBUTES: Note function that is thread safe with exceptions
...
The function atof() is thread safe with exceptions.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:20:06 +13:00
Peng Haitao
941daa87c7
atan.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions atan(), atanf() and atanl() 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:18:36 +13:00
Peng Haitao
fdceb0bdc6
alloca.3: ATTRIBUTES: Note function that is thread-safe
...
The function alloca() 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:18:21 +13:00
Peng Haitao
31047e642c
adjtime.3: ATTRIBUTES: Note function that is thread-safe
...
The function adjtime() 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:18:11 +13:00
Peng Haitao
bea300ad81
ftok.3: ATTRIBUTES: Note function that is thread-safe
...
The function ftok() 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:18:04 +13:00
Greg Price
25630b2764
malloc.3: Scale back promises of alignment
...
It's not true that the return value is suitably aligned for "any
variable"; for example, it's unsuitable for a variable like
float *x __attribute__ ((__vector_size__ (32)));
which requires 32-byte alignment. Types like this are defined in
<avxintrin.h>, and with 16-byte alignment in <emmintrin.h> and
<xmmintrin.h>, so the application programmer need not even know
that a vector_size attribute has been applied.
On an x86 architecture, a program that loads from or stores to a
pointer with this type derived from malloc can crash because GCC
generates an aligned load/store, like MOVDQA.
The C99 standard (TC3, as of N1256) does say the return value is
suitably aligned for "any type of object". The C11 standard (as
of N1570) revises this to any type with "fundamental alignment",
which means an alignment "supported by the implementation in all
contexts", which I suppose tautologically includes aligning
malloc/realloc return values.
The actual behavior of current glibc malloc is to align to the
greater of 2 * sizeof(size_t) and __alignof__ (long double),
which may be one bit greater than this commit promises.
Signed-off-by: Greg Price <price@mit.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-26 11:16:19 +13:00
Michael Kerrisk
36e3fa2641
fexecve.3: Explain the use and rationale of fexecve()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-25 12:37:41 +13:00
Michael Kerrisk
0397bccf5c
fexecve.3: POSIX.1-2008 specifies fexecve()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-25 11:57:07 +13:00
Michael Kerrisk
779e42d021
setenv.3: Clarify that setenv() returns success in the overwrite==0 case
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-10-11 07:47:13 +13:00
Peng Haitao
adb7cd334e
des_crypt.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions ecb_crypt(), cbc_crypt() and des_setparity() are
thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:17:11 +02:00
Peng Haitao
9f4658a7c9
creal.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions creal(), crealf() and creall() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:16:39 +02:00
Peng Haitao
2d6c69dfdf
cproj.3: wfix
...
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:15:56 +02:00
Peng Haitao
1e50524784
cproj.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions cproj(), cprojf() and cprojl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:15:33 +02:00
Peng Haitao
680c76f15f
cbrt.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions cbrt(), cbrtf() and cbrtl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:15:05 +02:00
Peng Haitao
3e323f1255
dysize.3: ATTRIBUTES: Note function that is thread-safe
...
The function dysize() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:14:21 +02:00
Peng Haitao
94a133a483
euidaccess.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions euidaccess() and eaccess() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:13:54 +02:00
Peng Haitao
e0cf6f25d3
statvfs.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions statvfs() and fstatvfs() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:12:34 +02:00
Peng Haitao
53d029b310
ftime.3: ATTRIBUTES: Note function that is thread-safe
...
The function ftime() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:11:51 +02:00
Michael Kerrisk
886ea57d14
assert.3, assert_perror.3, rexec.3, rpc.3: Reword a sentence to use more gender-neutral language
...
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-26 15:07:35 +02:00
Michael Kerrisk
9267ec37f4
sigsetops.3: Add 'const' to sigisemptyset(), sigorset(), sigandset() declarations
...
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-24 08:35:48 +02:00
Michael Kerrisk
f9d8c4e6fc
sigsetops.3: Rework text describing sigisemptyset(), sigorset(), and sigandset()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-24 08:31:23 +02:00
Michael Kerrisk
ae7656b2a7
sigsetops.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-24 08:12:41 +02:00
Michael Kerrisk
48b6f08669
ioctl_list.2, kill.2, nfsservctl.2, sched_setaffinity.2, sched_setparam.2, sched_setscheduler.2, syscall.2, fma.3, fmax.3, fmin.3, ip.7: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-17 08:27:30 +02:00
Peng Haitao
69e8f02f23
wctomb.3: ATTRIBUTES: Note function that is not thread-safe
...
The function wctomb() is not thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 09:02:29 +02:00
Peng Haitao
8cb0cd8252
drand48_r.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions drand48_r(), erand48_r(), lrand48_r(),
nrand48_r(), mrand48_r(), jrand48_r(), srand48_r(), seed48_r(),
and lcong48_r() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 09:02:29 +02:00
Peng Haitao
bbb97a015c
seekdir.3: ATTRIBUTES: Note function that is thread-safe
...
The function seekdir() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 09:02:28 +02:00
Michael Kerrisk
464e572e99
pthread_sigqueue.3: tfix in SYNOPSIS
...
Reported-by: Andrew Hunter <andrewhhunter@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-13 05:48:14 +02:00
Michael Kerrisk
533b9c5cb3
printf.3: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 09:27:34 +02:00
Christopher Hall
abbcef30df
printf.3: Correctly describe the meaning of a negative precision
...
The printf(3) manpage says that a negative precision is taken to
be zero, whereas printf(3p) says that a negative precision is
taken as if the precision were omitted. glibc agrees with the
latter (POSIX) specification.
Test code:
printf("%f\n",42.0); // "42.000000"
printf("%.*f\n",0,42.0); // "42"
printf("%.*f\n",-1,42.0); // "42.000000"
This patch corrects the explanation to match what actually happens.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 09:26:28 +02:00
Michael Kerrisk
7d0ec5b670
gethostbyname.3: gai_strerror() is the modern replacement for herror() and hstrerror()
...
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 09:18:39 +02:00
Michael Kerrisk
930c9b6d23
gethostbyname.3: Add feature test macro requirements for errno
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 09:16:45 +02:00
Michael Kerrisk
85832c0a4d
gethostbyname.3: Update feature test macro requirements for herror() and hstrerror()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 08:46:28 +02:00
Andreas Wiese
1ea76c666a
strdup.3: tfix in feature test macro requirements
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 08:14:33 +02:00
Michael Kerrisk
21a1f5bd50
posix_memalign.3: 'errno" is indeterminate after a call to posix_memalign()
...
Reported-by: Will Newton <will.newton@linaro.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 07:58:45 +02:00
Michael Kerrisk
558f02dff0
posix_memalign.3: Clarify wording on "return value" when size==0
...
Reported-by: Will Newton <will.newton@linaro.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 09:06:39 +02:00
Peng Haitao
f7dbb1ea62
telldir.3: ATTRIBUTES: Note function that is thread-safe
...
The function telldir() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:47:38 +02:00
Peng Haitao
c242417af4
rewinddir.3: ATTRIBUTES: Note function that is thread-safe
...
The function rewinddir() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:47:18 +02:00
Peng Haitao
0352da6374
nextafter.3: wfix
...
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:47:06 +02:00
Peng Haitao
e132eea1ab
nextafter.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions nextafter(), nextafterf(), nextafterl(),
nexttoward(), nexttowardf() and nexttowardl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:46:21 +02:00
Peng Haitao
39ea02302b
rint.3: wfix
...
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:37:36 +02:00
Peng Haitao
36981c13b9
rint.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions nearbyint(), nearbyintf(), nearbyintl(), rint(),
rintf() and rintl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:36:43 +02:00
Peng Haitao
ed0b5a7807
mbsinit.3: ATTRIBUTES: Note function that is thread-safe
...
The function mbsinit() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:36:13 +02:00
Peng Haitao
df348165e1
lround.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions lround(), lroundf(), lroundl(), llround(),
llroundf() and llroundl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:35:33 +02:00
Peng Haitao
5399a562d3
lrint.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions lrint(), lrintf(), lrintl(), llrint(), llrintf(),
and llrintl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-22 09:26:21 +02:00
Peng Haitao
0105e3716b
lseek64.3: ATTRIBUTES: Note function that is thread-safe
...
The function lseek64() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-22 09:25:41 +02:00
Peng Haitao
742e368202
ldexp.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions ldexp(), ldexpf() and ldexpl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-22 09:25:20 +02:00
Michael Kerrisk
fa182455ed
clock.3: clock() switched from using times(2) to clock_gettime() in glibc 2.18
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-19 12:46:30 +02:00
Peng Haitao
ea00bcb35a
ilogb.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions ilogb(), ilogbf() and ilogbl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 10:27:56 +02:00
Peng Haitao
b5a788d5f2
fpclassify.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions fpclassify(), isfinite(), isnormal(), isnan(), and
isinf() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 10:27:56 +02:00
Peng Haitao
7e9ee9a4c2
frexp.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions frexp(), frexpf() and frexpl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 10:27:56 +02:00
Michael Kerrisk
9ee4a2b6ec
intro.1, time.1, access.2, acct.2, alloc_hugepages.2, bind.2, chdir.2, chmod.2, chown.2, chroot.2, clone.2, close.2, execve.2, fallocate.2, fcntl.2, getdents.2, getrusage.2, getxattr.2, init_module.2, inotify_add_watch.2, ioprio_set.2, kcmp.2, link.2, listxattr.2, lseek.2, madvise.2, mkdir.2, mknod.2, mmap.2, mount.2, move_pages.2, msgctl.2, nfsservctl.2, open.2, pivot_root.2, quotactl.2, read.2, readlink.2, removexattr.2, rename.2, rmdir.2, semctl.2, setfsgid.2, setfsuid.2, setresuid.2, setuid.2, setup.2, setxattr.2, shmctl.2, splice.2, spu_create.2, stat.2, statfs.2, swapon.2, symlink.2, sync.2, sync_file_range.2, sysfs.2, truncate.2, umount.2, unlink.2, unshare.2, ustat.2, utime.2, utimensat.2, write.2, btree.3, errno.3, fexecve.3, ftw.3, futimes.3, get_nprocs_conf.3, getcwd.3, getdirentries.3, getmntent.3, glob.3, mkfifo.3, mq_open.3, readdir.3, realpath.3, recno.3, remove.3, sem_open.3, shm_open.3, statvfs.3, sysconf.3, telldir.3, tmpfile.3, cciss.4, initrd.4, pts.4, sk98lin.4, vcs.4, core.5, filesystems.5, proc.5, boot.7, bootparam.7, capabilities.7, cpuset.7, credentials.7, feature_test_macros.7, fifo.7, hier.7, inotify.7, intro.7, mq_overview.7, path_resolution.7, pipe.7, sem_overview.7, shm_overview.7, spufs.7, symlink.7, unix.7, uri.7, sync.8: Global fix: s/file system/filesystem/
...
Notwithstanding 24d01c530c
,
"filesystem" is the form used by the great majority of man pages
outside the man-pages project and in a number of other sources,
so let's go with that.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 10:07:57 +02:00
Michael Kerrisk
d3edf78f39
wcscat.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 12:27:33 +02:00
Michael Kerrisk
bd18d73457
wcsncat.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 12:27:17 +02:00
Michael Kerrisk
97e91fec41
argz_add.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 12:26:05 +02:00
Michael Kerrisk
716fe4663e
stpncpy.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 11:53:31 +02:00
Akihiro MOTOKI
f528275c21
tempnam.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 11:38:29 +02:00
Akihiro MOTOKI
eb204b9497
popen.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 11:38:02 +02:00
Akihiro MOTOKI
be88a268b8
wcpncpy.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 11:34:24 +02:00
Peng Haitao
d6da57592e
fmax.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions fmax(), fmaxf() and fmaxl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 11:26:59 +02:00
Peng Haitao
aabbba0679
fmin.3: wfix
...
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 11:26:24 +02:00
Peng Haitao
8300b8b8cc
fmin.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions fmin(), fminf() and fminl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 11:25:16 +02:00
Peng Haitao
cc61061889
fma.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions fma(), fmaf() and fmal() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-01 11:10:43 +02:00
Peng Haitao
343a2c3bda
floor.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions floor(), floorf() and floorl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-23 13:27:35 +02:00
Peng Haitao
3cdc8f5719
flockfile.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions flockfile(), ftrylockfile() and funlockfile() are
thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-23 13:26:59 +02:00
Simon Paillard
ea01d88618
argz_add.3: ffix, actually revert of 5049da5b
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-22 20:51:05 +02:00
Peng Haitao
5ad225a328
finite.3: Minor wording improvement
...
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-22 19:13:22 +02:00
Michael Kerrisk
4d553950e7
clog2.3: Note that these functions are still not present in glibc 2.17
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-22 19:07:11 +02:00
Peng Haitao
77aa3ddceb
finite.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions finite(), finitef(), finitel(), isinf(), isinff(),
isinfl(), isnan(), isnanf() and isnanl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-22 12:58:06 +02:00
Peng Haitao
1e88bbc083
encrypt.3: wfix phrasing
...
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-22 12:46:34 +02:00
Simon Paillard
e6c6110c13
getmntent.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:35 +02:00
Simon Paillard
6a387d0ecb
qecvt.3: wfix phrasing
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Simon Paillard
d2dca89de0
getpwnam.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Peng Haitao
676420f26c
fflush.3: ATTRIBUTES: Note function that is thread-safe
...
The function fflush() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Peng Haitao
be9883929d
fdim.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions fdim(), fdimf() and fdiml() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Peng Haitao
0d9df44eaa
fabs.3: ffix
...
"The fabs() functions" should be replaced with "These functions".
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:34 +02:00
Peng Haitao
594e3173f7
fabs.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions fabs(), fabsf() and fabsl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Simon Paillard
945e9d50f7
strcoll.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Peng Haitao
a877cf9226
div.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions div(), ldiv(), lldiv() and imaxdiv() are thread
safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-09 02:24:30 +02:00
Peng Haitao
70d8c4cbcf
dirfd.3: ATTRIBUTES: Note function that is thread-safe
...
The function dirfd() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-09 02:23:37 +02:00
Michael Kerrisk
51700fd719
Removed trailing white space at end of lines
2013-07-04 12:53:51 +02:00
Michael Kerrisk
ac9167ae16
execve.2, aio_error.3, aio_return.3, clock_getcpuclockid.3, ctermid.3, ecvt.3, ether_aton.3, rexec.3, signbit.3, timegm.3: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-04 10:36:51 +02:00
Peng Haitao
543840ca7b
signbit.3: ATTRIBUTES: Note macro that is thread-safe
...
The macro signbit() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-03 12:02:57 +02:00
Peng Haitao
0a82339877
clock_getcpuclockid.3: ATTRIBUTES: Note function that is thread-safe
...
The function clock_getcpuclockid() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-03 12:02:48 +02:00
Michael Kerrisk
58c7d0c279
strftime.3: BUGS: 'errno' is not set if the result string would exceed 'max' bytes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-28 04:24:10 +02:00
Michael Kerrisk
511b30188b
strftime.3: Clarify details of return value
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-28 04:19:55 +02:00
Michael Kerrisk
6f78750b5e
strftime.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-28 03:58:37 +02:00
Michael Kerrisk
1788df41b3
strftime.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-28 03:56:24 +02:00
Peng Haitao
0b0a32b833
aio_return.3: ATTRIBUTES: Note function that is thread-safe
...
The function aio_return() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-27 00:34:10 +02:00
Peng Haitao
34a8bc858e
aio_error.3: ATTRIBUTES: Note function that is thread-safe
...
The function aio_error() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-27 00:34:02 +02:00
Peng Haitao
d768f1d966
ctermid.3: ATTRIBUTES: Note function that is thread safe with exceptions
...
The function ctermid() is thread safe with exceptions.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-27 00:33:50 +02:00
Jérémie Galarneau
00a9a8997f
timegm.3: copy the string returned by getenv()
...
The example of a portable version of timegm() uses the string
returned by getenv() after calling setenv() on the same
environment variable. The tz string may be invalid as per
getenv.3:
"The string pointed to by the return value of getenv()
may be statically allocated, and can be modified by a
subsequent call to getenv(), putenv(3), setenv(3), or
unsetenv(3)."
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-27 00:27:33 +02:00
Michael Kerrisk
f9293d9857
io_setup.2, perf_event_open.2, readdir.2, syscall.2, a64l.3, abs.3, asprintf.3, bindresvport.3, catgets.3, ceil.3, cimag.3, conj.3, crypt.3, drand48.3, encrypt.3, ether_aton.3, fcloseall.3, ferror.3, fmtmsg.3, getdate.3, getgrent.3, getgrnam.3, getpass.3, getpwent.3, getpwnam.3, getttyent.3, getusershell.3, localeconv.3, mblen.3, mbrlen.3, mbrtowc.3, modf.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_setname_np.3, ptsname.3, qecvt.3, re_comp.3, readdir.3, rexec.3, round.3, scalbln.3, stdio_ext.3, strerror.3, tmpnam.3, trunc.3, ttyname.3, ttyslot.3, inotify.7, man-pages.7, socket.7, tcp.7, udp.7: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-21 13:35:03 +02:00
Michael Kerrisk
04aa92829d
argz_add.3: ffix
...
Reported-by: Eric S. Raymond <esr@thyrsus.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-21 00:06:56 +02:00
Michael Kerrisk
dcf163b97b
envz_add.3: ffix
...
Reported-by: Eric S. Raymond <esr@thyrsus.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-21 00:02:24 +02:00
Eric S. Raymond
9b1c7a292f
regex.3: Remove unused macro
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-20 23:59:18 +02:00
Michael Kerrisk
474446468e
basename.3: Fix errors from Eric Raymond's previous commit
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-20 23:47:42 +02:00
Eric S. Raymond
c6076d0e53
basename.3: Replace an ad-hoc table with a real one
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-20 23:43:32 +02:00
Peng Haitao
de541d4b88
mblen.3: ATTRIBUTES: Note function that is not thread-safe
...
The function mblen() is not thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-20 23:36:52 +02:00
Peng Haitao
5621da57fa
conj.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions conj(), conjf() and conjl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-20 23:36:52 +02:00
Peng Haitao
6d74e86185
scalbln.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions scalbn(), scalbnf(), scalbnl(), scalbln(),
scalblnf() and scalblnl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-20 23:36:52 +02:00
Peng Haitao
18b3fa616f
strerror.3: ATTRIBUTES: Note function that is not thread-safe
...
The function strerror() is not thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-19 03:34:44 +02:00
Peng Haitao
e3543fbba9
cimag.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions cimag(), cimagf() and cimagl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-19 03:34:44 +02:00
Peng Haitao
907036968e
modf.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions modf(), modff() and modfl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-19 03:34:44 +02:00
Peng Haitao
d265b8f2fc
trunc.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions trunc(), truncf() and truncl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-19 03:34:44 +02:00
Peng Haitao
ed21d74901
ceil.3, round.3: ATTRIBUTES: tfix
...
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-19 03:34:44 +02:00
Peng Haitao
7836c64d88
round.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions round(), roundf() and roundl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-19 03:34:44 +02:00
Peng Haitao
ea32445bea
ceil.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions ceil(), ceilf() and ceill() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-19 03:34:44 +02:00
Peng Haitao
1ad7b08940
mbrtowc.3: ATTRIBUTES: Note function that is thread safe with exceptions
...
The function mbrtowc() is thread safe with exceptions.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:34:44 +02:00
Peng Haitao
3220895675
strtok.3: ATTRIBUTES: Note function that is not thread-safe
...
The function strtok() is not thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:33 +02:00
Peng Haitao
b6c6e0a33d
abs.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions abs(), labs(), llabs() and imaxabs() are
thread-safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:33 +02:00
Michael Kerrisk
8ee22ae82c
ferror.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:33 +02:00
Peng Haitao
82e25934ab
ferror.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions ferror(), clearerr(), feof() and fileno() are
thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:33 +02:00
Peng Haitao
70f5f10ecb
tmpnam.3: ATTRIBUTES: Note function that is thread safe with exceptions
...
The function tmpnam() is thread safe with exceptions.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:33 +02:00
Michael Kerrisk
7ec74538de
mbrlen.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:33 +02:00
Peng Haitao
6c2ec40d25
mbrlen.3: ATTRIBUTES: Note function that is thread safe with exceptions
...
The function mbrlen() is thread safe with exceptions.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:33 +02:00
Peng Haitao
7c51f0e341
getusershell.3: ATTRIBUTES: Note functions that are not thread-safe
...
The functions getusershell(), setusershell() and endusershell()
are not thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Peng Haitao
6a92c34cff
ether_aton.3: ATTRIBUTES: Note functions that are not thread-safe
...
The functions ether_aton() and ether_ntoa() are not thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Michael Kerrisk
3f69da2862
getgrent.3, getlogin.3, getpwent.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Michael Kerrisk
b6cab55bd6
a64l.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Peng Haitao
1454246e94
getlogin.3: ATTRIBUTES: Note function that is not thread-safe
...
The function getlogin() is not thread safe.
The function cuserid() is thread-safe with exceptions.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Peng Haitao
d506211293
rexec.3: ATTRIBUTES: Note functions that are not thread-safe
...
The functions rexec() and rexec_af() are not thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Peng Haitao
cbdd5ebe6e
stdio_ext.3: ATTRIBUTES: Note functions that are not thread-safe
...
The functions __fbufsize(), __fpending(), __fpurge() and
__fsetlocking() are not thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Peng Haitao
dc01ee8742
re_comp.3: ATTRIBUTES: Note functions that are not thread-safe
...
The functions re_comp() and re_exec() are not thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Michael Kerrisk
974afcfe41
drand48.3: Minor rewording
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Peng Haitao
ba3680650c
drand48.3: ATTRIBUTES: Note functions that are not thread-safe
...
The functions drand48(), erand48(), lrand48(), nrand48(),
mrand48(), jrand48(), srand48(), seed48() and lcong48() are
not thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:31:02 +02:00
Peng Haitao
20d546abd5
a64l.3: ATTRIBUTES: Note function that is not thread-safe
...
The function l64a() is not thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:30:25 +02:00
Peng Haitao
9ed071a41b
bindresvport.3: ATTRIBUTES: Note function that is thread-safe
...
Before glibc 2.17, bindresvport() is not thread-safe.
Since glibc 2.17, it is thread-safe, the patch can refer to URL:
http://sourceware.org/git/?p=glibc.git;a=commit;h=f6da27e53695ad1cc0e2a9490358decbbfdff5e5
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
2013-06-19 03:30:24 +02:00
Peng Haitao
93a8236f6e
fmtmsg.3: ATTRIBUTES: Note function that is thread-safe
...
Before glibc 2.16, fmtmsg() is not thread-safe.
Since glibc 2.16, it is thread-safe, the patch can refer to URL:
http://sourceware.org/git/?p=glibc.git;a=commit;h=7724defcf8873116fe4efab256596861eef21a94
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
2013-06-19 03:30:24 +02:00
Peng Haitao
7231e4c37a
getgrent.3: ATTRIBUTES: Note function that is not thread-safe
...
The function getgrent() is not thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
2013-06-19 03:30:24 +02:00
Peng Haitao
8bce342494
getpwent.3: ATTRIBUTES: Note function that is not thread-safe
...
The function getpwent() is not thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
2013-06-19 03:30:24 +02:00
Peng Haitao
dee90154c7
crypt.3: ATTRIBUTES: Note function that is not thread-safe
...
The function crypt() is not thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
2013-06-19 03:30:24 +02:00
Peng Haitao
4fc2f6479b
encrypt.3: ATTRIBUTES: Note functions that are not thread-safe
...
The functions encrypt() and setkey() are not thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
2013-06-19 03:30:24 +02:00
Peng Haitao
1d94efa5ad
ptsname.3: ATTRIBUTES: Note function that is not thread-safe
...
The function ptsname() is not thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
2013-06-19 03:30:24 +02:00
Peng Haitao
f4d7c22be6
fcloseall.3: ATTRIBUTES: Note function that is not thread-safe
...
The function fcloseall() is not thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
2013-06-19 03:30:24 +02:00
Peng Haitao
e92d82ff95
hsearch.3: ATTRIBUTES: Note functions that are not thread-safe
...
The functions hsearch(), hcreate() and hdestroy() are not
thread-safe.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:30:24 +02:00