Commit Graph

9172 Commits

Author SHA1 Message Date
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
Zsbán Ambrus 237565c981 ioctl_list.2: Document FAT_IOCTL_GET_ATTRIBUTES
The attached patch adds four ioctls from linux/msdos_fs.h to the
ioctl_list(2) manpage.

The ioctl FAT_IOCTL_GET_ATTRIBUTES reads FAT attributes of a
file a mounted vfat file system.  I tested this on Linux
2.6.33, an example script can be found at
http://www.perlmonks.com/?node_id=832623

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-08 07:57:45 +02:00
Michael Kerrisk 70caf370f5 standards.7: Add mention of SUSv4-TC1 (POSIX.1-2013)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-06 05:59:29 +02:00
Simon Paillard 5c977011c1 ptrace.2, setns.2, glob.7, ld.so.8: ffix: hyphen-used-as-minus-sign
See http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-05 13:09:41 +02:00
Michael Kerrisk 78638aae30 clock_getres.2: Note circumstances in which "SMP" note applies.
Reported-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-05 12:55:47 +02:00
Michael Kerrisk 783d6cb454 clock_getres.2: Add kernel version for CLOCK_*_CPUTIME_ID
CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID
appeared in 2.6.12.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 16:45:44 +02:00
Michael Kerrisk f042d149dd proc.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 16:27:15 +02:00
Michael Kerrisk 817b5ec178 proc.5: Note block size used by /proc/partitions
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666972

Reported-by: A. Costa <agcosta@gis.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-04 15:35:07 +02:00
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