]> git.ipfire.org Git - thirdparty/man-pages.git/log
thirdparty/man-pages.git
9 years agopldd.1: ffix
Michael Kerrisk [Sat, 18 Apr 2015 18:29:39 +0000 (20:29 +0200)] 
pldd.1: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetent.1: Document a help and version options
Michael Kerrisk [Sat, 18 Apr 2015 12:50:18 +0000 (14:50 +0200)] 
getent.1: Document a help and version options

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoldd.1: tfix
Michael Kerrisk [Sat, 18 Apr 2015 12:47:33 +0000 (14:47 +0200)] 
ldd.1: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetent.1: Tweaks to Robin Johnson's patch
Michael Kerrisk [Sat, 18 Apr 2015 12:44:54 +0000 (14:44 +0200)] 
getent.1: Tweaks to Robin Johnson's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetent.1: Document options
Robin H. Johnson [Fri, 17 Apr 2015 06:53:52 +0000 (23:53 -0700)] 
getent.1: Document options

The options to getent are now documented, after being around for
nearly a decade without changes.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
CC: Nalin Dahyabhai <nalin@redhat.com> (original -s {service} option)
CC: Jay Fenlason <fenlason@redhat.com> (-s {database}:{service} addition)
CC: Ulrich Drepper <drepper@redhat.com> (IDN flags)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoftw.3: Reorganize the page to give primacy to nftw()
Michael Kerrisk [Fri, 17 Apr 2015 18:47:24 +0000 (20:47 +0200)] 
ftw.3: Reorganize the page to give primacy to nftw()

nftw() is the better API, and POSIX.1-2008 marks ftw() obsolete.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoftw.3: ftw() and nftw() differ for the non-stat-able symlink case
Michael Kerrisk [Fri, 17 Apr 2015 05:18:23 +0000 (07:18 +0200)] 
ftw.3: ftw() and nftw() differ for the non-stat-able symlink case

The POSIX specification of ftw() says that an un-stat-able
symlink may yield either FTW_NS or FTW_SL. The specification
of nftw() does not carry this statement.

Reported-by: Felix Sedlmeier <sedlmeier@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoftw.3: Update POSIX version references in NOTES
Michael Kerrisk [Fri, 17 Apr 2015 05:14:42 +0000 (07:14 +0200)] 
ftw.3: Update POSIX version references in NOTES

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoftw.3: srcfix: FIXME
Michael Kerrisk [Fri, 17 Apr 2015 05:13:52 +0000 (07:13 +0200)] 
ftw.3: srcfix: FIXME

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoftw.3: CONFORMING TO: add POSIX.1-2008
Michael Kerrisk [Fri, 17 Apr 2015 05:12:35 +0000 (07:12 +0200)] 
ftw.3: CONFORMING TO: add POSIX.1-2008

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoftw.3: tfix
Michael Kerrisk [Fri, 17 Apr 2015 05:11:10 +0000 (07:11 +0200)] 
ftw.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoepoll.7: SEE ALSO: add poll(2) and select(2)
Michael Kerrisk [Thu, 16 Apr 2015 19:55:35 +0000 (21:55 +0200)] 
epoll.7: SEE ALSO: add poll(2) and select(2)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agopoll.2: SEE ALSO: add epoll(7)
Michael Kerrisk [Thu, 16 Apr 2015 19:43:12 +0000 (21:43 +0200)] 
poll.2: SEE ALSO: add epoll(7)

Reported-by: Andreas Baak <andreas.baak@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoexec.3: ffix
Michael Kerrisk [Thu, 16 Apr 2015 04:44:07 +0000 (06:44 +0200)] 
exec.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoexec.3: SYNOPSIS: Clarify calling signature for execl() and execlp()
Michael Kerrisk [Thu, 16 Apr 2015 04:43:03 +0000 (06:43 +0200)] 
exec.3: SYNOPSIS: Clarify calling signature for execl() and execlp()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoexec.3: Correct prototype for execle()
Michael Kerrisk [Thu, 16 Apr 2015 04:36:54 +0000 (06:36 +0200)] 
exec.3: Correct prototype for execle()

Make the prototype shown into correct C.

Reported-by: Andreas Baak <andreas.baak@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agotimerfd_create.2: Note kernel version for TFD_IOC_SET_TICKS
Michael Kerrisk [Mon, 13 Apr 2015 05:01:02 +0000 (07:01 +0200)] 
timerfd_create.2: Note kernel version for TFD_IOC_SET_TICKS

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agotimerfd_create.2: Tweaks to Cyrill Gorcunov's patch
Michael Kerrisk [Mon, 13 Apr 2015 04:54:25 +0000 (06:54 +0200)] 
timerfd_create.2: Tweaks to Cyrill Gorcunov's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agotimerfd_create.2: Document TFD_IOC_SET_TICKS ioctl() operation
Cyrill Gorcunov [Tue, 15 Jul 2014 21:54:55 +0000 (01:54 +0400)] 
timerfd_create.2: Document TFD_IOC_SET_TICKS ioctl() operation

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoproc.5: Document /proc/PID/fdinfo epoll format
Michael Kerrisk [Sun, 12 Apr 2015 15:41:09 +0000 (17:41 +0200)] 
proc.5: Document /proc/PID/fdinfo epoll format

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoproc.5: Describe /proc/PID/fdinfo eventfd format
Michael Kerrisk [Sun, 12 Apr 2015 15:28:04 +0000 (17:28 +0200)] 
proc.5: Describe /proc/PID/fdinfo eventfd format

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoproc.5: Document /proc/PID/fdinfo signalfd format
Michael Kerrisk [Sun, 12 Apr 2015 15:23:01 +0000 (17:23 +0200)] 
proc.5: Document /proc/PID/fdinfo signalfd format

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoproc.5: Describe "mnt_id" field of /proc/PID/fdinfo
Michael Kerrisk [Sun, 12 Apr 2015 14:53:59 +0000 (16:53 +0200)] 
proc.5: Describe "mnt_id" field of /proc/PID/fdinfo

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoacos.3, acosh.3, asin.3, asinh.3, atan.3, atan2.3, atanh.3, cabs.3, cacos.3, cacosh...
Michael Kerrisk [Sun, 12 Apr 2015 13:23:50 +0000 (15:23 +0200)] 
acos.3, acosh.3, asin.3, asinh.3, atan.3, atan2.3, atanh.3, cabs.3, cacos.3, cacosh.3, casin.3, casinh.3, catan.3, catanh.3, cbrt.3, cexp.3, cimag.3, conj.3, copysign.3, cos.3, cosh.3, cpow.3, creal.3, erf.3, erfc.3, exp.3, exp10.2, exp2.3, expm1.3, fma.3, fmod.3, frexp.3, hypot.3, ldexp.3, lgamma.3, log.3, log10.3, log1p.3, log2.3, modf.3, pow.3, pow10.3, remainder.3, significand.3, sin.3, sinh.3, sqrt.3, tan.3, tanh.3, tgamma.3: wfix: use consistent wording to describe functions

exp10.3, lgamma.3, modf.3, pow10.3, remainder.3, significand.3:dd
Where a page describes multiple math functions with float, double,
and long double variants, just describe them as "These functions"
rather than describing in terms of just the double variant.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoctanh.3: Add introductory sentence explaining what these functions calculate
Michael Kerrisk [Sun, 12 Apr 2015 10:55:18 +0000 (12:55 +0200)] 
ctanh.3: Add introductory sentence explaining what these functions calculate

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoctan.3: Add introductory sentence explaining what these functions calculate
Michael Kerrisk [Sun, 12 Apr 2015 10:54:23 +0000 (12:54 +0200)] 
ctan.3: Add introductory sentence explaining what these functions calculate

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agocsqrt.3: Simplify description of what these functions calculate
Michael Kerrisk [Sun, 12 Apr 2015 10:32:43 +0000 (12:32 +0200)] 
csqrt.3: Simplify description of what  these functions calculate

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agocsinh.3: Add introductory sentence explaining what these functions calculate
Michael Kerrisk [Sun, 12 Apr 2015 10:30:09 +0000 (12:30 +0200)] 
csinh.3: Add introductory sentence explaining what these functions calculate

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agocsin.3: Add introductory sentence explaining what these functions calculate
Michael Kerrisk [Sun, 12 Apr 2015 10:28:56 +0000 (12:28 +0200)] 
csin.3: Add introductory sentence explaining what these functions calculate

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoclog.3: Add introductory sentence explaining what these functions calculate
Michael Kerrisk [Sun, 12 Apr 2015 10:25:28 +0000 (12:25 +0200)] 
clog.3: Add introductory sentence explaining what these functions calculate

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoccosh.3: Add introductory sentence explaining what these functions calculate
Michael Kerrisk [Sun, 12 Apr 2015 10:22:38 +0000 (12:22 +0200)] 
ccosh.3: Add introductory sentence explaining what these functions calculate

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoccos.3: Add introductory sentence explaining what these functions calculate
Michael Kerrisk [Sun, 12 Apr 2015 10:21:35 +0000 (12:21 +0200)] 
ccos.3: Add introductory sentence explaining what these functions calculate

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agocarg.3: Add introductory sentence explaining what these functions calculate
Michael Kerrisk [Sun, 12 Apr 2015 10:18:38 +0000 (12:18 +0200)] 
carg.3: Add introductory sentence explaining what these functions calculate

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoacos.3, acosh.3, asin.3, asinh.3, atan.3, atan2.3, atanh.3, cabs.3, cacos.3, cacosh...
Michael Kerrisk [Sun, 12 Apr 2015 10:06:13 +0000 (12:06 +0200)] 
acos.3, acosh.3, asin.3, asinh.3, atan.3, atan2.3, atanh.3, cabs.3, cacos.3, cacosh.3, carg.3, casin.3, casinh.3, catan.3, catanh.3, cbrt.3, ccos.3, ccosh.3, ceil.3, cexp.3, cimag.3, clog.3, conj.3, copysign.3, cos.3, cosh.3, cpow.3, cproj.3, creal.3, csin.3, csinh.3, csqrt.3, ctan.3, ctanh.3, erf.3, erfc.3, exp.3, exp2.3, expm1.3, fabs.3, fdim.3, floor.3, fma.3, fmax.3, fmin.3, fmod.3, frexp.3, hypot.3, ilogb.3, ldexp.3, log.3, log10.3, log1p.3, log2.3, logb.3, lrint.3, lround.3, modf.3, nan.3, nextafter.3, pow.3, remquo.3, rint.3, round.3, scalbln.3, sin.3, sinh.3, sqrt.3, tan.3, tanh.3, tgamma.3, trunc.3: These functions are also in POSIX.1-2008

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoacos.3, acosh.3, asin.3, asinh.3, atan.3, atan2.3, atanh.3, ceil.3, cos.3, cosh.3...
Michael Kerrisk [Sun, 12 Apr 2015 10:04:44 +0000 (12:04 +0200)] 
acos.3, acosh.3, asin.3, asinh.3, atan.3, atan2.3, atanh.3, ceil.3, cos.3, cosh.3, erf.3, erfc.3, exp.3, exp2.3, fabs.3, floor.3, fmod.3, frexp.3, hypot.3, ldexp.3, log.3, log10.3, log2.3, modf.3, pow.3, sin.3, sinh.3, sqrt.3, tan.3, tanh.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoj0.3, lgamma.3, remainder.3, y0.3: CONFORMING TO: note functions that are also in...
Michael Kerrisk [Sun, 12 Apr 2015 10:00:27 +0000 (12:00 +0200)] 
j0.3, lgamma.3, remainder.3, y0.3: CONFORMING TO: note functions that are also in POSIX.1-2008

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosincos.3: wfix
Michael Kerrisk [Sun, 12 Apr 2015 09:56:40 +0000 (11:56 +0200)] 
sincos.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoclog10.3: wfix
Michael Kerrisk [Sun, 12 Apr 2015 09:54:56 +0000 (11:54 +0200)] 
clog10.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agocabs.3, cacos.3, cacosh.3, carg.3, casin.3, casinh.3, catan.3, catanh.3, ccos.3,...
Michael Kerrisk [Sun, 12 Apr 2015 09:48:14 +0000 (11:48 +0200)] 
cabs.3, cacos.3, cacosh.3, carg.3, casin.3, casinh.3, catan.3, catanh.3, ccos.3, ccosh.3, cexp.3, cimag.3, clog.3, conj.3, cpow.3, cproj.3, creal.3, csin.3, csinh.3, csqrt.3, ctan.3, ctanh.3: These C99 math functions are also in POSIX.1-2001

POSIX.1-2001 includes all of the C99 APIs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogethostbyname.3: Add some detail for NO_DATA
Michael Kerrisk [Sun, 12 Apr 2015 08:12:27 +0000 (10:12 +0200)] 
gethostbyname.3: Add some detail for NO_DATA

Text consistent with POSIX and FreeBSD's gethostbyname() man page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogethostbyname.3: Clarify the NO_ADDRESS and NO_DATA are synonyms
Michael Kerrisk [Sun, 12 Apr 2015 08:09:16 +0000 (10:09 +0200)] 
gethostbyname.3: Clarify the NO_ADDRESS and NO_DATA are synonyms

Reported-by: Jonny Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosymlink.2: ERRORS: add linkpath=="" case for ENOENT
Michael Kerrisk [Sun, 12 Apr 2015 07:55:14 +0000 (09:55 +0200)] 
symlink.2: ERRORS: add linkpath=="" case for ENOENT

Reported-by: Jonny Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosymlink.2: wfix
Michael Kerrisk [Sun, 12 Apr 2015 07:54:05 +0000 (09:54 +0200)] 
symlink.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agostrcasecmp.3: Clarify that strcasecmp() does a byte-wise comparison
Michael Kerrisk [Sun, 12 Apr 2015 07:43:27 +0000 (09:43 +0200)] 
strcasecmp.3: Clarify that strcasecmp() does a byte-wise comparison

Reported-0by: Jonny Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agostrcasecmp.3: CONFORMING TO: add POSIX.1-2008
Michael Kerrisk [Sun, 12 Apr 2015 07:41:38 +0000 (09:41 +0200)] 
strcasecmp.3: CONFORMING TO: add POSIX.1-2008

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agostrcasecmp.3: wfix
Michael Kerrisk [Sun, 12 Apr 2015 07:37:05 +0000 (09:37 +0200)] 
strcasecmp.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agostrcat.3: ffix
Michael Kerrisk [Sun, 12 Apr 2015 07:24:56 +0000 (09:24 +0200)] 
strcat.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agorealpath.3: Add ENOMEM error
Michael Kerrisk [Sun, 12 Apr 2015 07:14:23 +0000 (09:14 +0200)] 
realpath.3: Add ENOMEM error

Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetcwd.3: Add ENOMEM error
Michael Kerrisk [Sun, 12 Apr 2015 07:13:13 +0000 (09:13 +0200)] 
getcwd.3: Add ENOMEM error

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agomalloc.3: Add ENOMEM error
Michael Kerrisk [Sun, 12 Apr 2015 07:09:46 +0000 (09:09 +0200)] 
malloc.3: Add ENOMEM error

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetdents.2: Update timestamp
Michael Kerrisk [Sun, 12 Apr 2015 05:47:36 +0000 (07:47 +0200)] 
getdents.2: Update timestamp

Really just a marker to record the reporters of bugs
that stemmed from the fact that the page did not
document getdents64(). I'll fix things up in the changelog.

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

Reported-by: Dima Tisnek <dimaqq@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetdents.2: tfix
Michael Kerrisk [Sun, 12 Apr 2015 05:34:11 +0000 (07:34 +0200)] 
getdents.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetdents.2: Document getdents64()
Michael Kerrisk [Sat, 11 Apr 2015 22:00:47 +0000 (00:00 +0200)] 
getdents.2: Document getdents64()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetdents.2: ffix
Michael Kerrisk [Sat, 11 Apr 2015 20:54:53 +0000 (22:54 +0200)] 
getdents.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetdents.2: wfix (off-by-one kernel version)
Michael Kerrisk [Sat, 11 Apr 2015 20:38:55 +0000 (22:38 +0200)] 
getdents.2: wfix (off-by-one kernel version)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoprintf.3: Simplify the example code
Walter Harms [Sat, 11 Apr 2015 07:29:06 +0000 (09:29 +0200)] 
printf.3: Simplify the example code

(Minor tweaks by mtk)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agowcrtomb.3: ATTRIBUTES: Note function that isn't thread-safe
Zeng Linggang [Wed, 8 Apr 2015 02:56:25 +0000 (10:56 +0800)] 
wcrtomb.3: ATTRIBUTES: Note function that isn't thread-safe

The marking matches glibc marking.

wcrtomb: MT-Unsafe race:wcrtomb/!ps

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agounlocked_stdio.3: ATTRIBUTES: Note functions that aren't thread-safe
Zeng Linggang [Wed, 8 Apr 2015 02:56:24 +0000 (10:56 +0800)] 
unlocked_stdio.3: ATTRIBUTES: Note functions that aren't thread-safe

The markings match glibc markings.

getc_unlocked:     MT-Safe race:stream
putc_unlocked:     MT-Safe race:stream
clearerr_unlocked: MT-Safe race:stream
fflush_unlocked:   MT-Safe race:stream
fgetc_unlocked:    MT-Safe race:stream
fputc_unlocked:    MT-Safe race:stream
fread_unlocked:    MT-Safe race:stream
fwrite_unlocked:   MT-Safe race:stream
fgets_unlocked:    MT-Safe race:stream
fputs_unlocked:    MT-Safe race:stream
getwc_unlocked:    MT-Safe race:stream
fgetwc_unlocked:   MT-Safe race:stream
fputwc_unlocked:   MT-Safe race:stream
putwc_unlocked:    MT-Safe race:stream
fgetws_unlocked:   MT-Safe race:stream
fputws_unlocked:   MT-Safe race:stream

getchar_unlocked:  MT-Unsafe race:stdin
getwchar_unlocked: MT-Unsafe race:stdin

putchar_unlocked:  MT-Unsafe race:stdout
putwchar_unlocked: MT-Unsafe race:stdout

feof_unlocked:     MT-Safe
ferror_unlocked:   MT-Safe
fileno_unlocked:   MT-Safe

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agowprintf.3: ATTRIBUTES: Note functions that are thread-safe
Zeng Linggang [Wed, 8 Apr 2015 02:56:28 +0000 (10:56 +0800)] 
wprintf.3: ATTRIBUTES: Note functions that are thread-safe

The markings match glibc markings.

wprintf:   MT-Safe locale
fwprintf:  MT-Safe locale
swprintf:  MT-Safe locale
vwprintf:  MT-Safe locale
vfwprintf: MT-Safe locale
vswprintf: MT-Safe locale

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agowcsrtombs.3: ATTRIBUTES: Note function that isn't thread-safe
Zeng Linggang [Wed, 8 Apr 2015 02:56:27 +0000 (10:56 +0800)] 
wcsrtombs.3: ATTRIBUTES: Note function that isn't thread-safe

The marking matches glibc marking.

wcsrtombs: MT-Unsafe race:wcsrtombs/!ps

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agowcsnrtombs.3: ATTRIBUTES: Note function that isn't thread-safe
Zeng Linggang [Wed, 8 Apr 2015 02:56:26 +0000 (10:56 +0800)] 
wcsnrtombs.3: ATTRIBUTES: Note function that isn't thread-safe

The marking matches glibc marking.

wcsnrtombs: MT-Unsafe race:wcsnrtombs/!ps

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoscanf.3: ATTRIBUTES: Note functions that are thread-safe
Zeng Linggang [Wed, 8 Apr 2015 02:56:23 +0000 (10:56 +0800)] 
scanf.3: ATTRIBUTES: Note functions that are thread-safe

The markings match glibc markings.

scanf:   MT-Safe locale
fscanf:  MT-Safe locale
sscanf:  MT-Safe locale
vscanf:  MT-Safe locale
vsscanf: MT-Safe locale
vfscanf: MT-Safe locale

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoscandir.3: ATTRIBUTES: Note functions that are thread-safe
Zeng Linggang [Wed, 8 Apr 2015 02:56:22 +0000 (10:56 +0800)] 
scandir.3: ATTRIBUTES: Note functions that are thread-safe

The markings match glibc markings.

scandir:     MT-Safe
scandirat:   MT-Safe

alphasort:   MT-Safe locale
versionsort: MT-Safe locale

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoprintf.3: ATTRIBUTES: Note functions that are thread-safe
Zeng Linggang [Wed, 8 Apr 2015 02:56:21 +0000 (10:56 +0800)] 
printf.3: ATTRIBUTES: Note functions that are thread-safe

The markings match glibc markings.

printf:    MT-Safe locale
fprintf:   MT-Safe locale
sprintf:   MT-Safe locale
snprintf:  MT-Safe locale
vprintf:   MT-Safe locale
vfprintf:  MT-Safe locale
vsprintf:  MT-Safe locale
vsnprintf: MT-Safe locale

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoperror.3: ATTRIBUTES: Note function that is thread-safe
Zeng Linggang [Wed, 8 Apr 2015 02:56:20 +0000 (10:56 +0800)] 
perror.3: ATTRIBUTES: Note function that is thread-safe

The marking matches glibc marking.

perror: MT-Safe race:stderr

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agombsrtowcs.3: ATTRIBUTES: Note function that isn't thread-safe
Zeng Linggang [Wed, 8 Apr 2015 02:56:19 +0000 (10:56 +0800)] 
mbsrtowcs.3: ATTRIBUTES: Note function that isn't thread-safe

The marking matches glibc marking.

mbsrtowcs: MT-Unsafe race:mbsrtowcs/!ps

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agombsnrtowcs.3: ATTRIBUTES: Note function that isn't thread-safe
Zeng Linggang [Wed, 8 Apr 2015 02:56:18 +0000 (10:56 +0800)] 
mbsnrtowcs.3: ATTRIBUTES: Note function that isn't thread-safe

The marking matches glibc marking.

mbsnrtowcs: MT-Unsafe race:mbsnrtowcs/!ps

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetutent.3: ATTRIBUTES: Note functions that aren't thread-safe
Zeng Linggang [Wed, 8 Apr 2015 02:56:17 +0000 (10:56 +0800)] 
getutent.3: ATTRIBUTES: Note functions that aren't thread-safe

The markings match glibc markings.

getutent:  MT-Unsafe init race:utent race:utentbuf sig:ALRM timer

getutid:   MT-Unsafe init race:utent sig:ALRM timer
getutline: MT-Unsafe init race:utent sig:ALRM timer

pututline: MT-Unsafe race:utent sig:ALRM timer

setutent:  MT-Unsafe race:utent
endutent:  MT-Unsafe race:utent
utmpname:  MT-Unsafe race:utent

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoget_nprocs_conf.3: ATTRIBUTES: Note functions that are thread-safe
Zeng Linggang [Wed, 8 Apr 2015 02:56:16 +0000 (10:56 +0800)] 
get_nprocs_conf.3: ATTRIBUTES: Note functions that are thread-safe

The markings match glibc markings.

get_nprocs:      MT-Safe
get_nprocs_conf: MT-Safe

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetnetent.3: ATTRIBUTES: Note functions that aren't thread-safe
Zeng Linggang [Wed, 8 Apr 2015 02:56:15 +0000 (10:56 +0800)] 
getnetent.3: ATTRIBUTES: Note functions that aren't thread-safe

The markings match glibc markings.

getnetent:    MT-Unsafe race:netent race:netentbuf env locale

getnetbyname: MT-Unsafe race:netbyname env locale

getnetbyaddr: MT-Unsafe race:netbyaddr locale

setnetent:    MT-Unsafe race:netent env locale
endnetent:    MT-Unsafe race:netent env locale

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogethostbyname.3: ATTRIBUTES: Note functions that aren't thread-safe
Zeng Linggang [Wed, 8 Apr 2015 02:56:14 +0000 (10:56 +0800)] 
gethostbyname.3: ATTRIBUTES: Note functions that aren't thread-safe

The markings match glibc markings.

gethostbyname:    MT-Unsafe race:hostbyname env locale

gethostbyaddr:    MT-Unsafe race:hostbyaddr env locale

sethostent:       MT-Unsafe race:hostent env locale
endhostent:       MT-Unsafe race:hostent env locale
gethostent_r:     MT-Unsafe race:hostent env locale

herror:           MT‐Safe
hstrerror:        MT‐Safe

gethostent:       MT-Unsafe race:hostent race:hostentbuf env locale

gethostbyname2:   MT-Unsafe race:hostbyname2 env locale

gethostbyaddr_r:  MT-Safe env locale
gethostbyname_r:  MT-Safe env locale
gethostbyname2_r: MT-Safe env locale

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoctime.3: ATTRIBUTES: Note functions that aren't thread-safe
Zeng Linggang [Wed, 8 Apr 2015 02:56:13 +0000 (10:56 +0800)] 
ctime.3: ATTRIBUTES: Note functions that aren't thread-safe

The markings match glibc markings.

asctime:     MT-Unsafe race:asctime locale

asctime_r:   MT-Safe locale

ctime:       MT-Unsafe race:tmbuf race:asctime env locale

ctime_r:     MT-Safe env locale
gmtime_r:    MT-Safe env locale
localtime_r: MT-Safe env locale
mktime:      MT-Safe env locale

gmtime:      MT-Unsafe race:tmbuf env locale
localtime:   MT-Unsafe race:tmbuf env locale

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoasprintf.3: ATTRIBUTES: Note functions that are thread-safe
Zeng Linggang [Wed, 8 Apr 2015 02:56:12 +0000 (10:56 +0800)] 
asprintf.3: ATTRIBUTES: Note functions that are thread-safe

The markings match glibc markings.

asprintf:  MT-Safe locale
vasprintf: MT-Safe locale

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoctanh.3: ATTRIBUTES: Note functions that are thread-safe
Ma Shimiao [Thu, 2 Apr 2015 01:46:53 +0000 (09:46 +0800)] 
ctanh.3: ATTRIBUTES: Note functions that are thread-safe

The markings match glibc markings.

Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoctan.3: ATTRIBUTES: Note functions that are thread-safe
Ma Shimiao [Thu, 2 Apr 2015 01:44:44 +0000 (09:44 +0800)] 
ctan.3: ATTRIBUTES: Note functions that are thread-safe

The markings match glibc markings.

Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agocsqrt.3: ATTRIBUTES: Note functions that are thread-safe
Ma Shimiao [Thu, 2 Apr 2015 01:40:50 +0000 (09:40 +0800)] 
csqrt.3: ATTRIBUTES: Note functions that are thread-safe

The markings match glibc markings.

Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agocsinh.3: ATTRIBUTES: Note functions that are thread-safe
Ma Shimiao [Thu, 2 Apr 2015 01:38:16 +0000 (09:38 +0800)] 
csinh.3: ATTRIBUTES: Note functions that are thread-safe

The markings match glibc markings.

Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agocsin.3: ATTRIBUTES: Note functions that are thread-safe
Ma Shimiao [Thu, 2 Apr 2015 01:35:19 +0000 (09:35 +0800)] 
csin.3: ATTRIBUTES: Note functions that are thread-safe

Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agocexp.3: ATTRIBUTES: Note functions that are thread-safe
Ma Shimiao [Thu, 2 Apr 2015 01:31:55 +0000 (09:31 +0800)] 
cexp.3: ATTRIBUTES: Note functions that are thread-safe

The markings match glibc markings.

Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoccos.3: ATTRIBUTES: Note functions that are thread-safe
Ma Shimiao [Thu, 2 Apr 2015 01:27:35 +0000 (09:27 +0800)] 
ccos.3: ATTRIBUTES: Note functions that are thread-safe

The markings match glibc markings.

Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agostat.2: Add some details on various "stat" versions
Michael Kerrisk [Sat, 11 Apr 2015 05:59:56 +0000 (07:59 +0200)] 
stat.2: Add some details on various "stat" versions

Three versions of "stat" appeared on 32-bit systems,
dealing with structures of different (increasing) sizes.
Explain some of the details, and also note that the
situation is simpler on modern 64-bit architectures.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agolseek64.3: Clarify details with respect to 32-bit and 64-bit systems
Michael Kerrisk [Sat, 11 Apr 2015 05:59:32 +0000 (07:59 +0200)] 
lseek64.3: Clarify details with respect to 32-bit and 64-bit systems

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agolseek64.3: ffix
Michael Kerrisk [Sat, 11 Apr 2015 04:59:18 +0000 (06:59 +0200)] 
lseek64.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agollseek.2: llseek() exists on 32-bit platforms to support seeking to large offsets
Michael Kerrisk [Sat, 11 Apr 2015 04:56:48 +0000 (06:56 +0200)] 
llseek.2: llseek() exists on 32-bit platforms to support seeking to large offsets

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agollseek.2: Advise reader to use lseek(2) instead
Michael Kerrisk [Sat, 11 Apr 2015 04:54:34 +0000 (06:54 +0200)] 
llseek.2: Advise reader to use lseek(2) instead

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosyscalls.2: Add some details about the "multiple versions of system calls"
Michael Kerrisk [Fri, 10 Apr 2015 14:42:48 +0000 (16:42 +0200)] 
syscalls.2: Add some details about the "multiple versions of system calls"

The multiple-system-call-version phenomenon is particular a
feature of older 32-bit platforms. Hint at that fact in the text.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agostat.2: Add a little more detail on history of three versions of *stat()
Michael Kerrisk [Fri, 10 Apr 2015 14:31:27 +0000 (16:31 +0200)] 
stat.2: Add a little more detail on history of three versions of *stat()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosyscalls.2: Minor fix: use truncate64() rather than ftrucante64()
Michael Kerrisk [Fri, 10 Apr 2015 13:12:47 +0000 (15:12 +0200)] 
syscalls.2: Minor fix: use truncate64() rather than ftrucante64()

In the discussion of the new *64() system calls added in
Linux 2.4, use truncate64() father than ftruncate64(),
since the text goes on to say "and their analogs that work with
file descriptors or symbolic links".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agonewfstatat.2: New link to fstatat64.2
Michael Kerrisk [Fri, 10 Apr 2015 12:17:47 +0000 (14:17 +0200)] 
newfstatat.2: New link to fstatat64.2

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agostat.2: Add mention of newfstatat()
Michael Kerrisk [Fri, 10 Apr 2015 12:15:08 +0000 (14:15 +0200)] 
stat.2: Add mention of newfstatat()

The underlying system call for fstatat() is newfstatat()
on some architectures.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agopread.2: Add "C library/kernel ABI differences" subsection
Michael Kerrisk [Fri, 10 Apr 2015 07:22:22 +0000 (09:22 +0200)] 
pread.2: Add "C library/kernel ABI differences" subsection

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoprlimit64.2: New link to getrlimit.2
Michael Kerrisk [Fri, 10 Apr 2015 07:20:39 +0000 (09:20 +0200)] 
prlimit64.2: New link to getrlimit.2

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosyscalls.2: Remove prlimit()
Michael Kerrisk [Fri, 10 Apr 2015 07:19:27 +0000 (09:19 +0200)] 
syscalls.2: Remove prlimit()

There really is only the prlimit64() system call.
See also commit 7b08c45b7df.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetrlimit.2: Note that the underlying system call for prlimit() is prlimit64()
Michael Kerrisk [Fri, 10 Apr 2015 07:15:31 +0000 (09:15 +0200)] 
getrlimit.2: Note that the underlying system call for prlimit() is prlimit64()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetrlimit.2: Remove "_FILE_OFFSET_BITS == 64" from prlimit() FTM requirements
Michael Kerrisk [Fri, 10 Apr 2015 07:10:44 +0000 (09:10 +0200)] 
getrlimit.2: Remove "_FILE_OFFSET_BITS == 64" from prlimit() FTM requirements

"_FILE_OFFSET_BITS == 64" is not needed to get the prlimit()
declaration.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoposix_fadvise.2: Add "C library/kernel ABI differences" subsection
Michael Kerrisk [Fri, 10 Apr 2015 07:08:50 +0000 (09:08 +0200)] 
posix_fadvise.2: Add "C library/kernel ABI differences" subsection

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agolseek64.3: wfix
Michael Kerrisk [Fri, 10 Apr 2015 05:25:52 +0000 (07:25 +0200)] 
lseek64.3: wfix

Reported-by: Jonny Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetcwd.3: ffix - make EINVAL and ENAMETOOLONG bold
William Woodruff [Thu, 9 Apr 2015 15:38:54 +0000 (11:38 -0400)] 
getcwd.3: ffix - make EINVAL and ENAMETOOLONG bold

Neither EINVAL nor ENAMETOOLONG were bolded in the ERRORS section.

Signed-off-by: William Woodruff <william@tuffbizz.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: ffix
Michael Kerrisk [Tue, 7 Apr 2015 13:05:14 +0000 (15:05 +0200)] 
seccomp.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetcwd.3: Add kernel version/commit details to Jann Horn's patch
Michael Kerrisk [Mon, 6 Apr 2015 14:07:18 +0000 (16:07 +0200)] 
getcwd.3: Add kernel version/commit details to Jann Horn's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>