Commit Graph

9209 Commits

Author SHA1 Message Date
Peng Haitao 594e3173f7 fabs.3: ATTRIBUTES: Note functions that are thread-safe
The functions fabs(), fabsf() and fabsl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Simon Paillard 444f1c6c8e _syscall.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Simon Paillard 945e9d50f7 strcoll.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Simon Paillard 9c1b6f337f console_ioctl.4: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Simon Paillard 4db45694f4 bootparam.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Simon Paillard 1322e836d3 bootparam: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Simon Paillard 21e79503ab bootparam.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Vince Weaver 6061d29f3d perf_event_open.2: tfix
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Michael Kerrisk baf7029bac perf_event_open.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:33 +02:00
Vince Weaver 045bf4d3db perf_event_open.2: Improve PERF_SAMPLE_BRANCH_STACK documentation
Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-18 02:11:25 +02:00
Peng Haitao a877cf9226 div.3: ATTRIBUTES: Note functions that are thread-safe
The functions div(), ldiv(), lldiv() and imaxdiv() are thread
safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-09 02:24:30 +02:00
Peng Haitao 70d8c4cbcf dirfd.3: ATTRIBUTES: Note function that is thread-safe
The function dirfd() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-09 02:23:37 +02:00
Michael Kerrisk 07bfe93f85 setpgid.2: s/SIGTSTP/SIGTTIN/ when discussing reads from terminal
See https://bugzilla.kernel.org/show_bug.cgi?id=60504

Reported-by: graud@gmx.com
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-09 02:20:12 +02:00
Michael Kerrisk 4358c621b0 Changes.old: Fix for 3.52 changelog
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-05 11:38:53 +02:00
Michael Kerrisk f741925bf2 Start of man-pages-3.53: updating Changes and Changes.old 2013-07-04 13:15:40 +02:00
Michael Kerrisk 702db7139c Start of man-pages-3.53: updating .Announce and .lsm files 2013-07-04 13:15:40 +02:00
Michael Kerrisk dad26f6371 Start of man-pages-3.53: renaming .Announce and .lsm files 2013-07-04 13:15:40 +02:00
Michael Kerrisk 45c8420f6f Ready for 3.52 2013-07-04 12:53:57 +02:00
Michael Kerrisk 51700fd719 Removed trailing white space at end of lines 2013-07-04 12:53:51 +02:00
Michael Kerrisk 0a8f18a044 Changes: Ready for 3.52
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-04 12:50:45 +02:00
Michael Kerrisk ac9167ae16 execve.2, aio_error.3, aio_return.3, clock_getcpuclockid.3, ctermid.3, ecvt.3, ether_aton.3, rexec.3, signbit.3, timegm.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-04 10:36:51 +02:00
Peng Haitao 543840ca7b signbit.3: ATTRIBUTES: Note macro that is thread-safe
The macro signbit() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-03 12:02:57 +02:00
Peng Haitao 0a82339877 clock_getcpuclockid.3: ATTRIBUTES: Note function that is thread-safe
The function clock_getcpuclockid() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-03 12:02:48 +02:00
Vince Weaver d1007d147c perf_event_open.2: Update to match the Linux 3.10 release
This patch updates the perf_event_open() documentation to include
new interfaces added in the 3.10 kernel.

It also documents a few [To be documented] instances left over
from the 3.7 kernel.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-02 06:12:11 +02:00
Michael Kerrisk af6e5ad89b perf_event_open.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-02 06:08:29 +02:00
Vince Weaver 8cc8b90de8 perf_event_open.2 Add PERF_IOC_FLAG_GROUP documentation
The perf_event_open() ENABLE/DISABLE/RESET ioctls can take an
argument, PERF_IOC_FLAG_GROUP.  This wasn't documented at all
until about a year ago (despite the support being there from
the beginning) so I missed this when initially writing
the man page.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-07-02 06:05:48 +02:00
Michael Kerrisk 58c7d0c279 strftime.3: BUGS: 'errno' is not set if the result string would exceed 'max' bytes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-28 04:24:10 +02:00
Michael Kerrisk 511b30188b strftime.3: Clarify details of return value
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-28 04:19:55 +02:00
Michael Kerrisk 6f78750b5e strftime.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-28 03:58:37 +02:00
Michael Kerrisk 1788df41b3 strftime.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-28 03:56:24 +02:00
Michael Kerrisk 2b7a2ac549 proc.5: Document /proc/[pid]/fd/ anon_inode symlinks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-27 01:57:03 +02:00
Michael Kerrisk f75715e003 proc.5: Tweaks to Mike Frysinger's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-27 01:57:03 +02:00
Mike Frysinger d4529654b2 proc.5: Document /proc/[pid]/fd/ symlinks a bit more
Describe the type:[inode] syntax used in this dir

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-27 01:19:01 +02:00
Peng Haitao 0b0a32b833 aio_return.3: ATTRIBUTES: Note function that is thread-safe
The function aio_return() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-27 00:34:10 +02:00
Peng Haitao 34a8bc858e aio_error.3: ATTRIBUTES: Note function that is thread-safe
The function aio_error() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-27 00:34:02 +02:00
Peng Haitao d768f1d966 ctermid.3: ATTRIBUTES: Note function that is thread safe with exceptions
The function ctermid() is thread safe with exceptions.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-27 00:33:50 +02:00
Jérémie Galarneau 00a9a8997f timegm.3: copy the string returned by getenv()
The example of a portable version of timegm() uses the string
returned by getenv() after calling setenv() on the same
environment variable. The tz string may be invalid as per
getenv.3:

        "The string pointed to by the return value of getenv()
         may be statically allocated, and can be modified by a
         subsequent call to getenv(), putenv(3), setenv(3), or
         unsetenv(3)."

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-27 00:27:33 +02:00
Peter LaDow 0c42642f86 execve: Add envp to the Linux notes about NULL pointers
During the review of static analysis results, we discovered a
functional, but non-portable, use of execve().  For example:

    char *cmd[] = { "/path/to/some/file", NULL };
    execve(cmd[0], cmd, NULL);

The call succeeds.  Yet, the static analysis tool (rightly)
pointed out that envp could be dereferenced.  But digging into
glibc and the kernel, it appears that like argv, envp when NULL
is treated as if it were an empty list.

So, to clear things up, I'm submitting this patch to update the
man page to indicate that envp is treated like argv.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-21 14:21:43 +02:00
Michael Kerrisk f9293d9857 io_setup.2, perf_event_open.2, readdir.2, syscall.2, a64l.3, abs.3, asprintf.3, bindresvport.3, catgets.3, ceil.3, cimag.3, conj.3, crypt.3, drand48.3, encrypt.3, ether_aton.3, fcloseall.3, ferror.3, fmtmsg.3, getdate.3, getgrent.3, getgrnam.3, getpass.3, getpwent.3, getpwnam.3, getttyent.3, getusershell.3, localeconv.3, mblen.3, mbrlen.3, mbrtowc.3, modf.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_setname_np.3, ptsname.3, qecvt.3, re_comp.3, readdir.3, rexec.3, round.3, scalbln.3, stdio_ext.3, strerror.3, tmpnam.3, trunc.3, ttyname.3, ttyslot.3, inotify.7, man-pages.7, socket.7, tcp.7, udp.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-21 13:35:03 +02:00
Michael Kerrisk 2857d3ff8a pread.2: pread() and pwrite() are especially useful in multithreaded applications
Reported-by: Марк Коренберг <socketpair@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-21 12:30:25 +02:00
Michael Kerrisk 04aa92829d argz_add.3: ffix
Reported-by: Eric S. Raymond <esr@thyrsus.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-21 00:06:56 +02:00
Michael Kerrisk dcf163b97b envz_add.3: ffix
Reported-by: Eric S. Raymond <esr@thyrsus.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-21 00:02:24 +02:00
Eric S. Raymond 9b1c7a292f regex.3: Remove unused macro
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-20 23:59:18 +02:00
Michael Kerrisk 474446468e basename.3: Fix errors from Eric Raymond's previous commit
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-20 23:47:42 +02:00
Eric S. Raymond c6076d0e53 basename.3: Replace an ad-hoc table with a real one
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-20 23:43:32 +02:00
Eric S. Raymond 4df3a4bc62 console_codes.4: Replace some .in uses with equivalent .RS/.RE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-06-20 23:40:13 +02:00
Peng Haitao de541d4b88 mblen.3: ATTRIBUTES: Note function that is not thread-safe
The function mblen() is not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-20 23:36:52 +02:00
Peng Haitao 5621da57fa conj.3: ATTRIBUTES: Note functions that are thread-safe
The functions conj(), conjf() and conjl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-20 23:36:52 +02:00
Peng Haitao 6d74e86185 scalbln.3: ATTRIBUTES: Note functions that are thread-safe
The functions scalbn(), scalbnf(), scalbnl(), scalbln(),
scalblnf() and scalblnl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
2013-06-20 23:36:52 +02:00
Michael Kerrisk 8f0d86a3d5 Merge branch 'master' of ra.kernel.org:/pub/scm/docs/man-pages/man-pages 2013-06-19 10:19:41 +02:00