Commit Graph

9805 Commits

Author SHA1 Message Date
Michael Kerrisk 639b33d7b8 fcntl.2: BUGS: The O_SYNC and O_DSYNC flags are not modifiable using F_SETFL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-22 04:28:21 +01:00
Michael Kerrisk 7168d2f88b fcntl.2: Add susbsections under BUGS
There's several bugs listed. It's helpful to mark
them separately.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-21 08:44:44 +01:00
Simon Paillard 7d4d1f8a33 pthread_setname_np.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-21 07:17:32 +01:00
Simon Paillard 09e311c550 man-pages.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-21 07:16:49 +01:00
Michael Kerrisk 049be102ea socket.7: Minor fixes to SO_BUSY_POLL text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-21 07:11:41 +01:00
Eliezer Tamir 8e57271ad2 socket.7: Add description for SO_BUSY_POLL
Add description for the SO_BUSY_POLL socket option.

Signed-off-by: Eliezer Tamir <eliezer.tamir@linux.intel.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-21 07:11:41 +01:00
Peng Haitao 89a0ffe3fa strtod.3: ATTRIBUTES: Note functions that are thread safe with exceptions
The functions strtod(), strtof() and strtold() are thread safe
with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 13:22:52 +01:00
Peng Haitao b5afa8086f strcmp.3: ATTRIBUTES: Note functions that are thread-safe
The functions strcmp() and strncmp() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 13:22:21 +01:00
Peng Haitao 5745405b63 strchr.3: ATTRIBUTES: Note functions that are thread-safe
The functions strchr(), strrchr() and strchrnul() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 13:22:05 +01:00
Peng Haitao 9a55cdebde strcat.3: ATTRIBUTES: Note functions that are thread-safe
The functions strcat() and strncat() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 13:21:55 +01:00
Michael Kerrisk 83894d15e2 ptrace.2: Reworking of Andrey's patches
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 13:20:56 +01:00
Andrey Vagin 9a36b8fca0 ptrace.2: Add description for PTRACE_GETSIGMASK and PTRACE_SETSIGMASK
These two commands allow to examine and change mask of blocked signals.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 10:43:11 +01:00
Andrey Vagin 7a535f54fb ptrace.2: Add description for PTRACE_PEEKSIGINFO
Retrieve signals without removing them from a queue.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 10:42:13 +01:00
Michael Kerrisk 1509ca0e37 proc.5: Document /proc/[pid]/timers
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 10:33:23 +01:00
Michael Kerrisk e66b193dd1 timer_create.2: Add pointer to proc(5) for info on /proc/[pid]/timers
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-20 09:09:05 +01:00
Michael Kerrisk f78ed33a65 madvise.2, perf_event_open.2, query_module.2, stat.2, sem_init.3, hpsa.4, rtc.4, st.4, elf.5, filesystems.5, proc.5, environ.7, man-pages.7, regex.7, units.7: Reword to avoid use of "etc."
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 23:58:39 +13:00
Michael Kerrisk 14d7071359 lround.3, proc.5: Reword to avoid use of "etc." 2014-01-18 23:58:12 +13:00
Michael Kerrisk 8001742129 y0.3: Reword to avoid clumsy use of "etc."
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 23:56:55 +13:00
Michael Kerrisk 6f9ea7787e lrint.3: Reword to avoid clumsy use of "etc."
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 23:51:48 +13:00
Michael Kerrisk 853a2abafe lgamma.3: Reword to avoid clumsy use of "etc."
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 23:50:32 +13:00
Michael Kerrisk 4e0344e4a2 j0.3: Reword to avoid clumsy use of "etc."
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 23:50:32 +13:00
Michael Kerrisk 9050043143 st.4: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 23:50:32 +13:00
Michael Kerrisk c1234a3ba5 mq_receive.3, mq_send.3: SYNOPSIS: s/unsigned/unsigned int/
Reported-by: Simone Piccardi <piccardi@truelite.it>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 23:50:32 +13:00
Michael Kerrisk 85908442e0 rand.3: s/unsigned/unsigned int/ in example
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 23:50:32 +13:00
Michael Kerrisk 3a6d5615cb environ.7: Improve references for discussion of locale environment variables
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 23:10:02 +13:00
Michael Kerrisk d4d91728d7 environ.7: Correct reference to locale(7) (not locale(5))
locale(7) is the right place for details of the LC_*
environment variables.

See http://bugs.debian.org/638186

Reported-by: Gioele Barabucci <gioele@svario.it>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 23:08:54 +13:00
Michael Kerrisk 342a96c6cd environ.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 23:01:23 +13:00
Michael Kerrisk 5be6f51fee locale.7: SEE ALSO: add catopen(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 22:58:11 +13:00
Michael Kerrisk 6985a63a11 locale.7: SEE ALSO: add locale(5)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 22:57:51 +13:00
Michael Kerrisk aa99bf8a4d locale.5: SEE ALSO: add locale(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 22:56:18 +13:00
Michael Kerrisk 5a6194a405 execve.2, get_robust_list.2, getunwind.2, pipe.2, quotactl.2, clock_getcpuclockid.3, endian.3, fmemopen.3, getgrouplist.3, getservent_r.3, mq_notify.3, qsort.3, rtime.3, mailaddr.7: ffix: replace tabs with white space in code examples
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 20:47:47 +13:00
Michael Kerrisk 1c7b245826 unix.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 20:47:23 +13:00
Michael Kerrisk 9d59df305f filesystems.5: Add reference to proc(5) for more details on /proc/filesystems
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=735590

Reported-by: Axel Beckert <abe@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-18 20:47:18 +13:00
Michael Kerrisk 5ecff2297f linkat.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-17 23:46:38 +13:00
Michael Kerrisk c6ba8faeb5 linkat.2: ERRORS: Add EINVAL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-17 23:46:17 +13:00
Yuri Kozlov b834c23e32 ipv6.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-17 21:44:43 +13:00
Michael Kerrisk b458e1bfa7 getdate.3, strptime.3, locale.5: Replace "weekday" with less ambiguous language
Notwithstanding POSIX's use of the term "weekday", in everyday
English, "weekday" is commonly understood to mean a day in the
set [Monday..Friday] (vs one of the "weekend" days).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-17 21:08:16 +13:00
Brandon Edens 32afd19741 strftime.3: Change "week day" to "day of week"
See https://bugzilla.kernel.org/show_bug.cgi?id=68861

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-17 20:59:04 +13:00
Michael Kerrisk bc9d68d53e printf.3: Samll reorganization of text in EXAMPLE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-17 20:46:49 +13:00
Tilman Schmidt 5bdd426030 netdevice.7: Document SIOCGIFCONF case ifc_req==NULL
Add the missing description of the possibility to call SIOCGIFCONF
with ifc_req==NULL to determine the needed buffer size, as
described in
http://lkml.indiana.edu/hypermail/linux/kernel/0110.1/0506.html
and verified against source files net/core/dev_ioctl.c and
net/ipv4/devinet.c in the current kernel git tree.
This functionality has been present since the beginning of the 2.6
series. It's about time it gets documented.

While I'm at it, also generally clarify the section on
SIOCGIFCONF.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-16 17:22:21 +13:00
Michael Kerrisk f76e404e3d ferror.3: CONFORMING TO: add fileno()
Reported-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-16 17:12:57 +13:00
Michael Kerrisk 28d286ed66 ferror.3: clearerr(), feof(), and ferror() are also POSIX-conformant
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-16 17:06:32 +13:00
Michael Kerrisk 8285d50f68 standards.7: Add C11
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-16 12:46:04 +13:00
Michael Kerrisk 23c9c56419 dlopen.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-16 12:43:53 +13:00
Michael Kerrisk f1596307c1 standards.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-16 12:37:03 +13:00
Michael Kerrisk 442bd85578 standards.7: Enhance description of V7
(Nothing of substance now remains from the old intro(2) text.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-16 12:34:30 +13:00
Peng Haitao d51899bba0 strstr.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function strstr() is thread safe.
The function strcasestr() is thread safe with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-16 12:16:20 +13:00
Michael Kerrisk 81935e4ab5 resolv.conf.5: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-15 17:47:31 +13:00
Michael Kerrisk 78685d04ec io_getevents.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-15 17:44:34 +13:00
Michael Kerrisk e03fae06a8 man-pages.7: Prefer "usable" over "useable"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-01-15 17:35:27 +13:00