Commit Graph

9214 Commits

Author SHA1 Message Date
Michael Kerrisk d8b13fb4d9 wait.2: Add details on the fifth argument provided by raw waitid() system call
See https://bugzilla.kernel.org/show_bug.cgi?id=60744

Reported-by: Hannes Landeholm <hannes@jumpstarter.io>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 15:06:22 +02:00
Michael Kerrisk fb854b1378 wavelan.4: This driver disappeared in 2.56.35
Reported-by: Elie De Brauwer <eliedebrauwer@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 14:34:51 +02:00
Michael Kerrisk e272bb60c6 clock_getres.2: Add VERSIONS section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 14:27:59 +02:00
Michael Kerrisk 072c0d379e sigwaitinfo.2: Clarify wording of 'timeout' as a "minimum" interval
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 10:39:34 +02:00
Michael Kerrisk 0d9101c438 poll.2: Clarify wording of 'timeout' as a "minimum" interval
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 10:39:34 +02:00
Michael Kerrisk 82a6092b03 futex.2: The 'timeout' can be rounded upwards by clock granularity and also overrun
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 10:39:34 +02:00
Michael Kerrisk 2785cd6cee epoll_wait.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 10:39:34 +02:00
Michael Kerrisk 073f0240a4 select.2: Clarify wording of 'timeout' as a "minimum" interval
Reported-by: G.raud <graud@gmx.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 10:39:34 +02:00
Michael Kerrisk 7ab222df40 proc.5: /proc/sys/fs/inode-max went away in Linux 2.4
Also, the 'preshrink' field in /proc/sys/fs/inode-state became
a dummy value in Linux 2.4.

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

Reported-by: Marko Myllynen <myllynen@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 10:00:05 +02:00
Michael Kerrisk ac8727b68c proc.5: Minor wording changes in introductory paragraph
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 09:41:52 +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
David Prévot 7290621523 ptrace.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 08:18:07 +02:00
David Prévot c576d0b3f2 ptrace.2: pfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 08:17:56 +02:00
Michael Kerrisk e49b8d6737 mmap2.2: wfix
Reported-by: Magnus Reftel <magnus.reftel@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 08:16:24 +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
David Prévot 699893d8f9 perf_event_open.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 08:12:56 +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
D. Barbier 61a9bcb381 linkat.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:50:45 +02:00
Doug Goldstein ef4901931a open.2: Add EINVAL to errors list
EINVAL can be returned by open(2) when the underlying filesystem
doesn't support O_DIRECT. It is documented in the NOTES section
but this patch adds it to the list of possible errors.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:49:45 +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
Zdenek Pavlas 7d082baba6 sigaction.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:40:27 +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
Michael Kerrisk f04abae3cb feature_test_macros.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-24 22:12:21 +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
Simon Paillard 40f7562094 fstatat.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-22 09:06:31 +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
Michael Kerrisk 09d3c20c0d dir_colors.5: Add various synonyms
See http://bugs.debian.org/553477

Reported-by: Stas <stas.grumbler@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 12:07:21 +02:00
Simon Paillard 7f0c47f028 dir_colors.5: Add keywords SUID, SGID, STICKY, STICKY_OTHER_WRITABLE, OTHER_WRITABLE
See http://bugs.debian.org/553477
See ls.c and dircolors.c in coreutils

Reported-by: Stas <stas.grumbler@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 12:07:00 +02:00
Michael Kerrisk f122e7a1c3 dir_colors.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 11:39:39 +02:00
Simon Paillard 2f3365bd5d ip.7: IP_MULTICAST_IF setsockopt recognizes struct mreq (compatibility)
Kernel added compatibility only recently in
3a084ddb4bf299a6e898a9a07c89f3917f0713f7
See: http://bugs.debian.org/607979

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 10:16:47 +02:00
Johan Erlandsson aa60c0d2b2 syscall.2: Correct registers for arm/EABI
Registers was off by one.

Reference:
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=3105/4

See also:
http://peterdn.com/post/e28098Hello-World!e28099-in-ARM-assembly.aspx
https://wiki.debian.org/ArmEabiPort
http://en.wikipedia.org/wiki/Calling_convention#ARM

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 10:13:22 +02:00
Robert Harris 2510e4e5a1 open.2: Add mmap(2) to list of calls that fail when given an O_PATH descriptor
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 09:49:22 +02:00
Johan Erlandsson 415f7e6317 syscall.2: Add missing argument in example
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 09:33:51 +02:00
Michael Kerrisk 6ace3248f2 setfsgid.2: Refer to setfsuid(2) for an explanation of why setfsgid() is obsolete
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 09:28:35 +02:00
Michael Kerrisk 4069bc44a6 setfsgid.2: Wording improvements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 09:28:35 +02:00
Michael Kerrisk 2ec26c2b30 setfsuid.2: Wording improvements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 09:28:35 +02:00
Michael Kerrisk 68f2e81eda setfsuid.2: Correct header file in SYNOPSIS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 09:28:35 +02:00