Commit Graph

3183 Commits

Author SHA1 Message Date
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
Peng Haitao 8744c6c21d qecvt.3: ATTRIBUTES: Note functions that are not thread-safe
The functions qecvt() and qfcvt() 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
Michael Kerrisk be05dcc7d5 ttyslot.3: ATTRIBUTES: Note functions that 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 8c3a681ece getttyent.3: ATTRIBUTES: Note functions that 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 3f970b116b getpass.3: ATTRIBUTES: Note functions that 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 0a5e5cd8d4 getdate.3: ATTRIBUTES: Note functions that are and aren't 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
Michael Kerrisk a392de7a26 ttyname.3: ATTRIBUTES: Note functions that are and aren't 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 8c3438a601 getgrnam.3: ATTRIBUTES: Note functions that are and aren't 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 404197c753 getpwnam.3: ATTRIBUTES: Note functions that are and aren't 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 ebf472588b localeconv.3: Add RETURN VALUE section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-19 03:30:24 +02:00
Peng Haitao 83417e6917 readdir.3: ATTRIBUTES: Note functions that are not thread-safe
The data returned by readdir() may be overwritten by subsequent
calls to readdir() for the same directory stream, so it 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 5265a3da3e localeconv.3: ATTRIBUTES: Note functions that are not thread-safe
The function localeconv() returns a pointer to a structure which
might be overwritten by subsequent calls to localeconv() or by
calls to setlocale(), so it 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:29:42 +02:00
Peng Haitao ff6bff8a99 ecvt.3: ATTRIBUTES: Note functions that are not thread-safe
The functions ecvt() and fcvt() return a string located in a
static buffer which is overwritten by the next call to the
functions, so they 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:29:42 +02:00
Eric S. Raymond d82911be93 siginterrupt.3: tfix missing dot 2013-06-17 15:47:28 +02:00
Eric S. Raymond f1a1039a10 getpass.3: Fix some rather garbled list syntax
An .nf/.fi crossed scopes with a .TP, and the .TP had a header but
no body.  (The latter, while technically not broken in troff, is
bad usage and confuses attempts to parse the page.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk e4a0d6cb39 stpcpy.3, stpncpy.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wctob.3, wcwidth.3, wprintf.3: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk 5049da5bef arch_prctl.2, getpeername.2, getrlimit.2, ioctl_list.2, mmap2.2, mremap.2, sched_setaffinity.2, setup.2, shmop.2, argz_add.3, exec.3, fenv.3, fmtmsg.3, gethostbyname.3, posix_memalign.3, printf.3, scanf.3, sigpause.3, wordexp.3, xdr.3, st.4, tty_ioctl.4: Formatting fix: prevent '*' in declaration or cast wrapping to next line
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk 46d8df8ea4 strcasecmp.3, strcat.3, strchr.3, strcmp.3, strcoll.3, strcpy.3, strdup.3, strfry.3, strftime.3, strlen.3, strnlen.3, strpbrk.3, strsep.3, strsignal.3, strspn.3, strstr.3, strtok.3, strtol.3, strtoul.3, strxfrm.3: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk 022671eb41 acos.3, acosh.3, asin.3, asinh.3, atan.3, atanh.3, cbrt.3, ceil.3, copysign.3, cos.3, cosh.3, cproj.3, erf.3, exp.3, exp2.3, expm1.3, fabs.3, floor.3, fmod.3, frexp.3, isgreater.3, j0.3, lgamma.3, log.3, log10.3, log1p.3, log2.3, modf.3, nextafter.3, pow.3, rint.3, round.3, scalb.3, scalbln.3, sin.3, sinh.3, sqrt.3, tan.3, tanh.3, tgamma.3, trunc.3: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk c994238936 ioctl_list.2, sched_yield.2, vm86.2, backtrace.3, catopen.3, daemon.3, dl_iterate_phdr.3, fnmatch.3, getfsent.3, glob.3, grantpt.3, infnan.3, putgrent.3, setaliasent.3, shm_open.3, stdin.3, ttyS.4: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:52 +02:00
Michael Kerrisk 40aa0db03c mbrtowc.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, wcscasecmp.3, wcscat.3, wcscpy.3, wcsdup.3, wcslen.3, wcsncasecmp.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcsrtombs.3, wcsstr.3, wcstok.3, wcstombs.3, wcswidth.3: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 15:00:46 +02:00