Commit Graph

3155 Commits

Author SHA1 Message Date
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
Michael Kerrisk 287bfbdb52 wmemcmp.3, issue.5, motd.5: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk 509e20562d msync.2, getusershell.3, full.4, pts.4: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk c6fa0841a9 time.1, _syscall.2, acct.2, getsockname.2, nanosleep.2, pciconfig_read.2, sched_get_priority_max.2, umask.2, uname.2, ustat.2, INFINITY.3, argz_add.3, atexit.3, bsearch.3, byteorder.3, carg.3, closedir.3, dlopen.3, drand48.3, envz_add.3, errno.3, ether_aton.3, exp10.3, finite.3, flockfile.3, fseeko.3, getcontext.3, getmntent.3, getnetent.3, getprotoent.3, getrpcent.3, getservent.3, iconv_close.3, iconv_open.3, initgroups.3, login.3, longjmp.3, mbsinit.3, memccpy.3, memmem.3, mempcpy.3, offsetof.3, on_exit.3, pow10.3, pthread_cancel.3, pthread_cleanup_push.3, rpc.3, rpmatch.3, setenv.3, setjmp.3, setlogmask.3, sockatmark.3, strfmon.3, strptime.3, strverscmp.3, swab.3, tcgetpgrp.3, tmpfile.3, toascii.3, y0.3, null.4, tty.4, tty_ioctl.4, hosts.equiv.5, environ.7, path_resolution.7, tzselect.8: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk 35cfd37865 getwchar.3, infnan.3, iswalnum.3, iswalpha.3, iswcntrl.3, iswctype.3, iswdigit.3, iswgraph.3, iswlower.3, iswprint.3, iswpunct.3, iswspace.3, iswupper.3, iswxdigit.3, lsearch.3, mblen.3, mbrlen.3, memmove.3, memset.3, putwchar.3, rewinddir.3, towctrans.3, towlower.3, towupper.3, ungetwc.3, wcschr.3, wcscmp.3, wcscspn.3, wcspbrk.3, wcsrchr.3, wcsspn.3, wctomb.3, wctrans.3, wmemchr.3, wmemcmp.3, wmemcpy.3, wmemmove.3, wmemset.3, console.4, hd.4, lp.4, mem.4, mouse.4, ram.4, sync.8: Convert inline formatting (\fX...\fP) to dot-directive formatting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:28 +02:00
Michael Kerrisk 7fc50d4aca wcsnrtombs.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk 7066ef44b8 getopt.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk a2ce40b6ff rpc.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk d5a7e77e1d xdr.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk ef800a1862 strxfrm.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk 7f8e1b170b error.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk 3cdbcd0eda strcoll.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-12 14:56:27 +02:00
Michael Kerrisk d58522c0bd pthread_create.3: tfix
Reported-by: Anthony Foiani <anthony.foiani@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-02 14:27:20 +02:00
Michael Kerrisk 89b85ead22 strtok.3: tfix
Reported-by: Georg Sauthoff <mail@georg.so>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-02 14:27:09 +02:00
Michael Kerrisk ff452e0d6d strtok.3: Add more detail on the operation of strtok()
Add a number of missing details on the operation of strtok()

Reported-by: Georg Sauthoff <mail@georg.so>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 22:45:32 +02:00
Adrian Bunk 4906c99219 alloca.3: Correct information on getting non-inlined version with gcc+glibc
- remove the incorrect information that -fno-builtin would help
- add -std=c11 to the list of strict options
- emphasize more that both the gcc option and not including
  alloca.h are needed
- add the #ifdef from the glibc alloca.h to make the situation clearer

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 20:03:42 +02:00
Michael Kerrisk 1aff58045d catgets.3, inotify.7: Clarify that null byte is '\0'
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 19:59:06 +02:00
Michael Kerrisk f24e3a3ad9 readdir.2, asprintf.3, getline.3, getlogin.3, pthread_setname_np.3, readdir.3, strerror.3: Clarify that terminating null byte is '\0'
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 19:59:06 +02:00
Michael Kerrisk 6ac8bf78eb wprintf.3: Minor clarification of null wide character and null byte
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 19:59:06 +02:00
Michael Kerrisk 82e07898dd sysconf.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 19:59:06 +02:00
Michael Kerrisk 0a5d2e219f scanf.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-19 19:59:06 +02:00
Michael Kerrisk 7f2eb69df3 strnlen.3: tfix
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-18 20:56:42 +02:00
Michael Kerrisk 6aa5dcf494 canonicalize_file_name.3: Put CONFORMING TO section in right location
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-05-11 22:21:21 +02:00
Michael Kerrisk 9ccfb10269 profil.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-30 14:26:49 +02:00
Michael Kerrisk ea22c6e908 pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setscope.3: The inherit-scheduler attribute must be set to PTHREAD_EXPLICIT_SCHED
In order for the attributes set by these functions to have
an effect, the caller must use pthread_attr_setinheritsched(3)
to set the inherit-scheduler attribute of the attributes object
to PTHREAD_EXPLICIT_SCHED.

Reported-by: Manuel Traut <manut@linutronix.de>
Reported-by: Siddhesh Poyarekar <siddhesh@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:01 +02:00
Michael Kerrisk b67b588646 pthread_attr_setinheritsched.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:01 +02:00
Michael Kerrisk 6d46d0fac1 pthread_attr_setscope.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:01 +02:00
Michael Kerrisk c59c89b307 pthread_attr_setinheritsched.3: Note the scheduling attributes affected by this function
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:01 +02:00
Michael Kerrisk 572acb41c4 wcsdup.3: RETURN VALUE: mention that 'errno' is set on error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-04-19 14:19:01 +02:00