]>
git.ipfire.org Git - thirdparty/man-pages.git/log
Elie De Brauwer [Sat, 28 Dec 2013 13:19:10 +0000 (02:19 +1300)]
reboot.2: Add "Linux" to kernel version numbers
Signed-off-by: Elie De Brauwer <eliedebrauwer@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Elie De Brauwer [Mon, 30 Sep 2013 18:41:43 +0000 (20:41 +0200)]
reboot.2: Mention RB_POWER_OFF
The manpage did not mention RB_POWER_OFF which is the glibc
symbolic name for LINUX_REBOOT_CMD_POWER_OFF.
$ cd /usr/include
$ cat x86_64-linux-gnu/sys/reboot.h | grep POWER_OFF
define RB_POWER_OFF 0x4321fedc
Signed-off-by: Elie De Brauwer <eliedebrauwer@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 28 Dec 2013 12:53:00 +0000 (01:53 +1300)]
pthread_kill.3: POSIX.1-2008 removes ESRCH
POSIX.1-2001 mistakenly documented an ESRCH error, and
POSIX.1-2008 removes this error. Glibc does return
this error in cases where it can determine that a thread ID
is invalid, but equally, the use of an invalid thread ID
can cause a segmentation fault.
See http://thread.gmane.org/gmane.comp.lib.glibc.alpha/35598
Subject: Race and segmentation fault in pthread_kill() vs thread teardown
Newsgroups: gmane.comp.lib.glibc.alpha
Date: 2013-10-02 04:06:04 GMT
See http://udrepper.livejournal.com/16844.html
Reported-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Shawn Landden [Sat, 21 Dec 2013 00:37:40 +0000 (16:37 -0800)]
cmsg.3: tfix: be not --> not be
Signed-off-by: Shawn Landden <shawn@churchofgit.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 28 Dec 2013 10:53:17 +0000 (23:53 +1300)]
mkstemp.3: Better describe 'flags' that can be specified for mkostemp()
As reported by Janne Blomqvist:
currently the man page for mkostemp/mkostemps says:
The mkostemp() function is like mkstemp(), with the
difference that flags as for open(2) may be specified
in flags (e.g., O_APPEND, O_SYNC).
To be more precise, the implementation massages the flags argument
as follows:
(flags & ~O_ACCMODE) | O_RDWR | O_CREAT | O_EXCL
That is, there is no need to explicitly include O_RDWR | O_CREAT |
O_EXCL in flags, as it's added implicitly.
So I suggest that the manpage should instead state that
*additional* flags may be specified in the flags argument.
This issue is a potential portability problem. FreeBSD 10+ also
has mkostemp{s}, but generates an error if O_RDWR | O_CREAT |
O_EXCL is present instead of silently accepting it. While
annoying, this difference in behavior seems Ok by the proposed
addition of mkostemp to some future POSIX standard, see
http://austingroupbugs.net/view.php?id=411
The mkostemp() function shall be equivalent to the mkstemp()
function, except that the flag argument may contain
additional flags (from <fcntl.h>) to be used as if by open().
Behavior is unspecified if the flag argument contains more
than the following flags:
O_APPEND Set append mode.
O_CLOEXEC Set the FD_CLOEXEC file descriptor flag.
<SIO>O_DSYNC Write according to the synchronized I/O data
integrity completion.</SIO>
<SIO>O_RSYNC Synchronized read I/O operations.</SIO>
<XSI|SIO>O_SYNC Write according to synchronized I/O file
integrity completion.</XSI|SIO>
Reported-by: Janne Blomqvist <blomqvist.janne@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 27 Dec 2013 20:50:02 +0000 (09:50 +1300)]
clock_getres.2: Improve description of CLOCK_PROCESS_CPUTIME_ID
See https://bugzilla.kernel.org/show_bug.cgi?id=67291
Reported-by: Nadav Har'El <nyh@math.technion.ac.il>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 27 Dec 2013 05:40:22 +0000 (18:40 +1300)]
credentials.7: Add details on controlling terminal and foreground/background jobs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 27 Dec 2013 05:17:15 +0000 (18:17 +1300)]
credentials.7: List APIs that operate on process groups
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 16 Dec 2013 08:41:43 +0000 (16:41 +0800)]
sin.3: ATTRIBUTES: Note functions that are thread-safe
The functions sin(), sinf() and sinl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 16 Dec 2013 06:20:25 +0000 (14:20 +0800)]
sigwait.3: ATTRIBUTES: Note function that is thread-safe
The function sigwait() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 16 Dec 2013 05:23:59 +0000 (13:23 +0800)]
sigqueue.3: ATTRIBUTES: Note function that is thread-safe
The function sigqueue() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 16 Dec 2013 02:51:29 +0000 (10:51 +0800)]
sigpause.3: ATTRIBUTES: Note function that is thread-safe
The function sigpause() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 16 Dec 2013 01:48:04 +0000 (09:48 +0800)]
wcpncpy.3: ATTRIBUTES: Note function that is thread-safe
The function wcpncpy() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
David Prévot [Sun, 15 Dec 2013 22:16:37 +0000 (18:16 -0400)]
perf_event_open.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
David Prévot [Sun, 15 Dec 2013 20:45:13 +0000 (16:45 -0400)]
ftw.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
James Smith [Thu, 26 Dec 2013 18:40:19 +0000 (07:40 +1300)]
boot.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 26 Dec 2013 18:38:21 +0000 (07:38 +1300)]
perf_event_open.2: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Vince Weaver [Thu, 19 Dec 2013 22:04:39 +0000 (17:04 -0500)]
perf_event_open.2: Clarify issues with the disabled bit
Clarify the perf_event_open behavior with respect to the disabled
bit and creating event groups.
Reported-by: Sudhanshu Goswami <Sudhanshu.Goswami@emc.com>
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Vince Weaver [Thu, 19 Dec 2013 17:09:29 +0000 (12:09 -0500)]
perf_event_open.2. Clarify issues with the exclusive bit
Warn that using the perf_event_open "exclusive" bit, while it might seem
like a good idea, might lead to all 0 results in some common usage cases.
Reported-by: Sudhanshu Goswami <Sudhanshu.Goswami@emc.com>
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Simon Paillard [Wed, 18 Dec 2013 19:28:13 +0000 (20:28 +0100)]
mcheck.3: typo in compiler flag
See http://bugs.debian.org/732464
Reported-by: Raphael Geissert <geissert@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Tue, 24 Dec 2013 03:32:21 +0000 (11:32 +0800)]
towctrans.3: ATTRIBUTES: Note function that is thread-safe
The function towctrans() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Tue, 24 Dec 2013 02:16:07 +0000 (10:16 +0800)]
toupper.3: ATTRIBUTES: Note functions that are thread safe with exceptions
The functions toupper() and tolower() are thread safe with
exceptions.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 23 Dec 2013 10:05:04 +0000 (18:05 +0800)]
toascii.3: wfix
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 23 Dec 2013 09:50:09 +0000 (17:50 +0800)]
toascii.3: ATTRIBUTES: Note function that is thread-safe
The function toascii() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 23 Dec 2013 03:31:54 +0000 (11:31 +0800)]
ualarm.3: ATTRIBUTES: Note function that is thread-safe
The function ualarm() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 23 Dec 2013 02:08:59 +0000 (10:08 +0800)]
sincos.3: ATTRIBUTES: Note functions that are thread-safe
The functions sincos(), sincosf() and sincosl() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 12 Dec 2013 07:51:29 +0000 (20:51 +1300)]
Start of man-pages-3.56: updating Changes and Changes.old
Michael Kerrisk [Thu, 12 Dec 2013 07:51:29 +0000 (20:51 +1300)]
Start of man-pages-3.56: updating .Announce and .lsm files
Michael Kerrisk [Thu, 12 Dec 2013 07:51:29 +0000 (20:51 +1300)]
Start of man-pages-3.56: renaming .Announce and .lsm files
Michael Kerrisk [Thu, 12 Dec 2013 07:42:49 +0000 (20:42 +1300)]
Ready for 3.55
Michael Kerrisk [Thu, 12 Dec 2013 07:42:43 +0000 (20:42 +1300)]
Removed trailing white space at end of lines
Michael Kerrisk [Thu, 12 Dec 2013 07:40:15 +0000 (20:40 +1300)]
futex.2, send.2, setreuid.2, malloc.3, tcp.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 12 Dec 2013 07:32:16 +0000 (20:32 +1300)]
Changes: Ready for 3.55
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 12 Dec 2013 03:45:03 +0000 (16:45 +1300)]
perf_event_open.2: ffix + tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Vince Weaver [Wed, 13 Nov 2013 17:59:33 +0000 (12:59 -0500)]
perf_event_open.2: Update description for mmap_data bit
Here's an updated version of [David Ahern's] patch that
expands the "mmap" definition as well as that of "mmap_data".
Also some manpage related formatting improvements from the
original patch.
Link: https://lkml.org/lkml/2013/11/11/505
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Acked-by: David Ahern <dsahern@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Vince Weaver [Thu, 14 Nov 2013 22:08:52 +0000 (17:08 -0500)]
perf_event_open.2: cpu/pid argument cleanup
This patch attempts to clarify the pid and cpu options to
perf_event_open().
It does two things:
1. Tries to make clear that the "pid" argument can mean
process *or* thread. This is made confusing by
how Linux uses the terms mostly interchangeably.
2. The cpu/pid documentation was confusing because of
how the parameters are interdependent. Since there
are only 6 possible combinations I broke out the
possibilities into a table.
Reported-by: Manuel Selva <selva.manuel@gmail.com>
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Tue, 10 Dec 2013 10:15:03 +0000 (18:15 +0800)]
wcpcpy.3: ATTRIBUTES: Note function that is thread-safe
The function wcpcpy() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Tue, 10 Dec 2013 09:47:20 +0000 (17:47 +0800)]
stdarg.3: ATTRIBUTES: Note macros that are thread-safe
The macros va_start(), va_arg(), va_end() and va_copy() are
thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Tue, 10 Dec 2013 09:07:49 +0000 (17:07 +0800)]
usleep.3: ATTRIBUTES: Note function that is thread-safe
The function usleep() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 10 Dec 2013 20:38:21 +0000 (12:38 -0800)]
sigpending.2: Note treatment of signals that are blocked *and* ignored
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 10 Dec 2013 02:23:03 +0000 (18:23 -0800)]
stat.2: wspfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 9 Dec 2013 03:14:59 +0000 (11:14 +0800)]
unlockpt.3: ATTRIBUTES: Note function that is thread-safe
The function unlockpt() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 9 Dec 2013 02:08:59 +0000 (10:08 +0800)]
ungetwc.3: ATTRIBUTES: Note function that is thread-safe
The function ungetwc() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Trevor Bramwell [Mon, 9 Dec 2013 05:50:32 +0000 (21:50 -0800)]
pipe.2: Fix error in example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
David Prévot [Sun, 17 Nov 2013 19:38:45 +0000 (15:38 -0400)]
perf_event_open.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
David Prévot [Sun, 17 Nov 2013 19:38:44 +0000 (15:38 -0400)]
perf_event_open.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
David Prévot [Sun, 17 Nov 2013 19:38:43 +0000 (15:38 -0400)]
perf_event_open.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 9 Dec 2013 05:31:01 +0000 (21:31 -0800)]
confstr.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Yuri Kozlov [Mon, 9 Dec 2013 05:20:28 +0000 (21:20 -0800)]
catopen.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 8 Dec 2013 23:12:41 +0000 (15:12 -0800)]
kcmp.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Shawn Landden [Wed, 27 Nov 2013 16:43:28 +0000 (08:43 -0800)]
kcmp.3: Reword slightly awkward section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 2 Dec 2013 07:49:24 +0000 (15:49 +0800)]
wcscspn.3: ATTRIBUTES: Note function that is thread-safe
The function wcscspn() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 2 Dec 2013 06:40:06 +0000 (14:40 +0800)]
wcscpy.3: ATTRIBUTES: Note function that is thread-safe
The function wcscpy() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 2 Dec 2013 05:24:43 +0000 (13:24 +0800)]
wcscmp.3: ATTRIBUTES: Note function that is thread-safe
The function wcscmp() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 2 Dec 2013 03:20:28 +0000 (11:20 +0800)]
wcschr.3: ATTRIBUTES: Note function that is thread-safe
The function wcschr() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 2 Dec 2013 02:42:32 +0000 (10:42 +0800)]
wcscat.3: ATTRIBUTES: Note function that is thread-safe
The function wcscat() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 25 Nov 2013 08:25:03 +0000 (16:25 +0800)]
wcsncasecmp.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function wcsncasecmp() is thread safe with exceptions.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 25 Nov 2013 06:23:47 +0000 (14:23 +0800)]
wcsnlen.3: ATTRIBUTES: Note function that is thread-safe
The function wcsnlen() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 25 Nov 2013 05:12:21 +0000 (13:12 +0800)]
wcsncpy.3: ATTRIBUTES: Note function that is thread-safe
The function wcsncpy() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 25 Nov 2013 03:30:50 +0000 (11:30 +0800)]
wcsncmp.3: ATTRIBUTES: Note function that is thread-safe
The function wcsncmp() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 25 Nov 2013 03:22:55 +0000 (11:22 +0800)]
capget.2: wfix
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 25 Nov 2013 02:58:22 +0000 (10:58 +0800)]
wcsncat.3: ATTRIBUTES: Note function that is thread-safe
The function wcsncat() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Thu, 21 Nov 2013 04:51:07 +0000 (12:51 +0800)]
wcscasecmp.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function wcscasecmp() is thread safe with exceptions.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Thu, 21 Nov 2013 02:46:51 +0000 (10:46 +0800)]
wcslen.3: ATTRIBUTES: Note function that is thread-safe
The function wcslen() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Tue, 19 Nov 2013 01:38:17 +0000 (09:38 +0800)]
wcsrchr.3: ATTRIBUTES: Note function that is thread-safe
The function wcsrchr() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 18 Nov 2013 09:47:14 +0000 (17:47 +0800)]
wcspbrk.3: ATTRIBUTES: Note function that is thread-safe
The function wcspbrk() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 18 Nov 2013 07:50:31 +0000 (15:50 +0800)]
wcswidth.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function wcswidth() is thread safe with exceptions.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 18 Nov 2013 06:23:51 +0000 (14:23 +0800)]
wcstok.3: ATTRIBUTES: Note function that is thread-safe
The function wcstok() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 18 Nov 2013 05:51:16 +0000 (13:51 +0800)]
wcstoimax.3: ATTRIBUTES: Note functions that are thread safe with exceptions
The functions wcstoimax() and wcstoumax() are thread safe with
exceptions.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Tue, 12 Nov 2013 01:42:42 +0000 (09:42 +0800)]
wcsstr.3: ATTRIBUTES: Note function that is thread-safe
The function wcsstr() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 11 Nov 2013 08:15:01 +0000 (16:15 +0800)]
wcsspn.3: ATTRIBUTES: Note function that is thread-safe
The function wcsspn() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 11 Nov 2013 05:11:41 +0000 (13:11 +0800)]
wmemset.3: ATTRIBUTES: Note function that is thread-safe
The function wmemset() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 11 Nov 2013 02:52:09 +0000 (10:52 +0800)]
wmemmove.3: ATTRIBUTES: Note function that is thread-safe
The function wmemmove() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 11 Nov 2013 02:18:36 +0000 (10:18 +0800)]
wmemcpy.3: ATTRIBUTES: Note function that is thread-safe
The function wmemcpy() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 7 Dec 2013 22:33:50 +0000 (14:33 -0800)]
ld.so.8: Fix crufty wording in one sentence
Reported-by: Alfred Agrell <alfred@agrell.info>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 14 Nov 2013 19:04:47 +0000 (08:04 +1300)]
ftw.3: Explain probable cause of FTW_NS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 14 Nov 2013 18:59:04 +0000 (07:59 +1300)]
ftw.3: nftw() visits directories with FTW_D if FTW_DEPTH was not specified
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 12 Nov 2013 03:47:41 +0000 (16:47 +1300)]
tty_ioctl.4: Note that 'arg' should be 0 in the usual case when using TIOCSCTTY
Reported-by: Liu Jiaming <storypku@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 12 Nov 2013 03:46:36 +0000 (16:46 +1300)]
tty_ioctl.4: Rework text on root to discuss just in terms of capabilities
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 12 Nov 2013 03:44:16 +0000 (16:44 +1300)]
tty_ioctl.4: Minor change: break TIOCSCTTY into logically separate pieces
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 8 Nov 2013 01:24:57 +0000 (14:24 +1300)]
getaddrinfo.3: Explain one use case for AI_ADDRCONFIG
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 7 Nov 2013 23:14:30 +0000 (12:14 +1300)]
getaddrinfo.3: Highlight difference in ai_flags when hints==NULL
NOTES already described how glibc differs from POSIX.
Add a pointer to that text from the point in DESCRIPTION
where hints==NULL is discussed.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 7 Nov 2013 18:13:19 +0000 (07:13 +1300)]
poll.2: Clarify meaning of events==0
events==0 does not mean that revents is always returned as
zero. The "output only" events (POLLHUP, POLLERR, POLLNVAL)
can still be returned.
See https://bugzilla.kernel.org/show_bug.cgi?id=61911
Reported-by: Paolo Bonzini <bonzini@gnu.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 7 Nov 2013 17:35:29 +0000 (06:35 +1300)]
ioctl.2: 'request' argument is typed as 'unsigned long' in glibc
See https://bugzilla.kernel.org/show_bug.cgi?id=42705
Reported-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reported-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 7 Nov 2013 17:20:35 +0000 (06:20 +1300)]
mq_receive.3: msg_len must be greater than *or equal to* mq_msgsize
See https://bugzilla.kernel.org/show_bug.cgi?id=64571
Reported-by: janh <a0vhv@t-online.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 7 Nov 2013 17:18:10 +0000 (06:18 +1300)]
perf_event_open.2: tstamp + white space fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Vince Weaver [Wed, 6 Nov 2013 18:34:56 +0000 (13:34 -0500)]
perf_event_open.2: Linux 3.12 rdpmc/mmap
It turns out that the perf_event mmap page rdpmc/time setting was
broken, dating back to the introduction of the feature. Due
to a mistake with a bitfield, two different values mapped to
the same feature bit.
A new somewhat backwards compatible interface was introduced
in Linux 3.12. A much longer report on the issue can be found
here:
https://lwn.net/Articles/567894/
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Vince Weaver [Wed, 6 Nov 2013 18:31:58 +0000 (13:31 -0500)]
perf_event_open.2: Linux 3.12 adds PERF_EVENT_IOC_ID
A new perf_event related ioctl, PERF_EVENT_IOC_ID, was added
in Linux 3.12.
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Vince Weaver [Wed, 6 Nov 2013 18:30:41 +0000 (13:30 -0500)]
perf_event_open.2: Linux 3.12 adds PERF_SAMPLE_IDENTIFIER
A new PERF_SAMPLE_IDENTIFIER sample type was added in Linux 3.12.
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Vince Weaver [Wed, 6 Nov 2013 18:28:50 +0000 (13:28 -0500)]
perf_event_open.2: PERF_COUNT_SW_DUMMY support
Support for the PERF_COUNT_SW_DUMMY event type was added in
Linux 3.12.
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 7 Nov 2013 17:02:49 +0000 (06:02 +1300)]
fallocate.2: tfix + tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Christoph Hellwig [Wed, 6 Nov 2013 13:52:31 +0000 (05:52 -0800)]
fallocate.2: Clarify the zeroing behavior
fallocate() zeroes only space that did not previously contain
data, but leaves existing data untouched.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Tue, 5 Nov 2013 08:16:00 +0000 (16:16 +0800)]
wmemcmp.3: ATTRIBUTES: Note function that is thread-safe
The function wmemcmp() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Tue, 5 Nov 2013 01:21:05 +0000 (09:21 +0800)]
wmemchr.3: ATTRIBUTES: Note function that is thread-safe
The function wmemchr() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 4 Nov 2013 05:15:35 +0000 (13:15 +0800)]
wcwidth.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function wcwidth() is thread safe with exceptions.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 4 Nov 2013 03:01:19 +0000 (11:01 +0800)]
wctype.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function wctype() is thread safe with exceptions.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Peng Haitao [Mon, 4 Nov 2013 02:21:11 +0000 (10:21 +0800)]
wctrans.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function wctrans() is thread safe with exceptions.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
David Prévot [Wed, 30 Oct 2013 02:37:32 +0000 (22:37 -0400)]
fexecve.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 4 Nov 2013 05:58:07 +0000 (18:58 +1300)]
send.2: RETURN VALUE: these calls return number of bytes (not characters) sent
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 4 Nov 2013 04:42:18 +0000 (17:42 +1300)]
tcp.7: Fix (nontrivial) wordo in discussion of MSG_TRUNC
s/MSG_PEEK/MSG_TRUNC/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>