Commit Graph

3730 Commits

Author SHA1 Message Date
Peng Haitao 50b60123d0 pthread_setcancelstate.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_setcancelstate() and
pthread_setcanceltype() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-14 05:28:16 +02:00
Peng Haitao f9371cc405 pthread_self.3: ATTRIBUTES: Note function that is thread-safe
The function pthread_self() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-13 10:30:54 +02:00
Peng Haitao f1df713a24 pthread_kill_other_threads_np.3: ATTRIBUTES: Note function that is thread-safe
The function pthread_kill_other_threads_np() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-13 10:30:39 +02:00
Peng Haitao 4e1cc6450f pthread_kill.3: ATTRIBUTES: Note function that is thread-safe
The function pthread_kill() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-13 10:30:33 +02:00
Peng Haitao aaa53a891d pthread_yield.3: ATTRIBUTES: Note function that is thread-safe
The function pthread_yield() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-13 10:30:25 +02:00
Michael Kerrisk 81e10454a2 getopt.3: EXAMPLE: Add subheadings to distinguish the two example programs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-09 12:49:03 +02:00
Yuri Kozlov d1c2e0f2cb termios.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-09 07:43:56 +02:00
Michael Kerrisk d678023335 stpcpy.3: wfix
Reported-by Ingo Schwarze <schwarze@usta.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 15:21:59 +02:00
Michael Kerrisk b24dc302c1 stpcpy.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:54:19 +02:00
Michael Kerrisk 726663fd9d bind.2, connect.2, create_module.2, delete_module.2, execve.2, get_robust_list.2, getpriority.2, getrusage.2, init_module.2, link.2, listen.2, mbind.2, open.2, poll.2, query_module.2, readlink.2, recv.2, remap_file_pages.2, sched_setaffinity.2, semop.2, send.2, stat.2, stime.2, syscall.2, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, remquo.3, rtime.3, sched_getcpu.3, stpcpy.3, stpncpy.3, strcasecmp.3, system.3, fd.4, proc.5, ip.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:31:12 +02:00
Ingo Schwarze b35fe3a035 stpcpy.3: Note some history of stpcpy()
Quoting Ingo:
I just noticed that the stpcpy(3) manual contains a speculation
that appears to be untrue on closer investigation:  That function
did not originate in MS DOS, but in Lattice C on AmigaDOS.

Here is a patch against the git master HEAD to fix that, and add
some more historical information.  To provide some background and
allow you to more easily verify the correctness of the patch, i'm
appending my mail to <misc@openbsd.org>, where i'm giving some
more details about the history and pointing to some primary
sources.  That mail also contains the (similar, but shorter)
patch i just committed to the OpenBSD manual page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:55 +02:00
Ingo Schwarze e06ba91bbb stpncpy.3: Note glibc version where stpn() first appeared
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:55 +02:00
Peng Haitao 0dbaa5ccb7 rtime.3: ATTRIBUTES: Note function that is thread-safe
The function rtime() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Peng Haitao a7b3fac93a sched_getcpu.3: ATTRIBUTES: Note function that is thread-safe
The function sched_getcpu() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Peng Haitao cf5098096c remquo.3: ATTRIBUTES: Note functions that are thread-safe
The functions remquo(), remquof() and remquol() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Peng Haitao 18cbeb887b pthread_attr_setstacksize.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_attr_setstacksize() and
pthread_attr_getstacksize() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Peng Haitao 655d399882 pthread_attr_setstackaddr.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_attr_setstackaddr() and
pthread_attr_getstackaddr() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk ca24d85041 strcasecmp.3: Explain why strcasecmp()+strncasecmp() are also declared in <string.h>
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729436

Reported-by: Aurelien Jarno <aurelien@aurel32.net>
Reported-by: Török Edwin <edwin@etorok.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:26:54 +02:00
Michael Kerrisk 7f26d07561 system.3: Rewrote large parts of the page and added a number of details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:15:37 +02:00
Michael Kerrisk d6fa0283d3 fallocate.2, open_by_handle_at.2, rename.2, syscalls.2, termios.3, inotify.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-08 11:03:36 +02:00
Michael Kerrisk ffcffad69d termios.3: OFDEL is in POSIX.1-2001, so remove "(Not in POSIX)" text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-07 20:52:20 +02:00
Michael Kerrisk 73da353720 termios.3: Rework intro text for 'c_oflag'
Reported-by: Yuri Kozlov <yuray@komyakino.ru>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-07 20:31:15 +02:00
Simon Paillard b4112efb58 execve.2, getuid.2, stat.2, termios.3, ttyslot.3, glob.7: ffix: UNIX V6 or V7: use nonbreaking space
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-07 10:10:28 +02:00
Yuri Kozlov 6d1f5ca537 termios.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-05 19:54:32 +02:00
Yuri Kozlov 69ef1f653e termios.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-05 19:44:25 +02:00
David Prévot b660ce1aa4 inet_net_pton.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-04 07:44:25 +02:00
David Prévot 99839082a9 inet.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-04 07:42:42 +02:00
Michael Kerrisk 6cc61889f8 sched_getcpu.3: SEE ALSO: add sched(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-29 15:00:55 +02:00
Michael Kerrisk 2b9b829d52 time.1, get_kernel_syms.2, getitimer.2, open.2, perf_event_open.2, wait.2, alloca.3, bcmp.3, catopen.3, fputwc.3, iconv.3, iswalnum.3, iswalpha.3, iswblank.3, iswcntrl.3, iswctype.3, iswdigit.3, iswgraph.3, iswlower.3, iswprint.3, iswpunct.3, iswspace.3, iswupper.3, iswxdigit.3, mbsinit.3, putwchar.3, rcmd.3, rexec.3, sigqueue.3, strverscmp.3, wctrans.3, wctype.3, wcwidth.3, console_codes.4, initrd.4, st.4, elf.5, nss.5, ip.7, netdevice.7, path_resolution.7, socket.7, udp.7, ld.so.8: grfix: s/Otherwise /Otherwise, /
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-28 10:15:47 +02:00
Peng Haitao 88b11b50cb pthread_attr_setstack.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_attr_setstack() and pthread_attr_getstack()
are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-23 20:40:00 +02:00
Peng Haitao 180a948b37 pthread_attr_setscope.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_attr_setscope() and pthread_attr_getscope()
are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-23 20:40:00 +02:00
Peng Haitao 1cfb294673 pthread_attr_setschedpolicy.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_attr_setschedpolicy() and
pthread_attr_getschedpolicy() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-23 20:40:00 +02:00
Peng Haitao 6fea3867c0 pthread_attr_setschedparam.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_attr_setschedparam() and
pthread_attr_getschedparam() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-23 20:40:00 +02:00
Peng Haitao 47fb8a7f94 pthread_attr_setinheritsched.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_attr_setinheritsched() and
pthread_attr_getinheritsched() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-23 20:40:00 +02:00
Michael Kerrisk 1df20d51b3 dlopen.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-23 20:40:00 +02:00
Michael Kerrisk fe8b1358a6 Removed trailing white space at end of lines 2014-04-20 11:06:01 +02:00
Michael Kerrisk 62bd7742ff fexecve.3: If 'fd' is a close-on-exec file descriptor for a script, fexecve() fails
See https://bugzilla.kernel.org/show_bug.cgi?id=74481

Reported-by: Steven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-20 07:48:15 +02:00
Michael Kerrisk 0dbfbe8e71 fexecve.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-20 07:48:15 +02:00
Michael Kerrisk 5526923ae2 inet.3: The form 'a.b' if is suitable for Class A addresses (not class C)
Reported-by: Craig McQueen <craig.mcqueen@beamcommunications.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-19 10:44:40 +02:00
Michael Kerrisk 4cbfaed0ad inet.3: Note success and error return for inet_aton()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-19 10:44:28 +02:00
Michael Kerrisk 43d19bc76f crypt.3: Minor fixes to Mike Frysinger's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-18 17:51:25 +02:00
Mike Frysinger 3cc95d3f42 crypt(3): Use real dashes in regex
I don't think rendering the dashes in the regex expression as the
en style makes sense.  This is a literal regex, so use literal
dashes.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-18 17:50:07 +02:00
David Prévot 8563c24924 termios.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-17 07:45:52 +02:00
Michael Kerrisk 49d2b31216 inet_net_pton.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:50:42 +02:00
Michael Kerrisk ebd9e5df0d inet.3: SEE ALSO: add inet_net_pton(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:50:41 +02:00
Michael Kerrisk 90fb795078 inet_net_ntop.3: New link to new inet_net_pton.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:50:41 +02:00
Michael Kerrisk 6227c31dc6 inet_net_pton.3: New page describing inet_net_pton(3) and inet_net_ntop(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:50:41 +02:00
Peng Haitao 738e78b2c9 pthread_attr_setguardsize.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_attr_setguardsize() and
pthread_attr_getguardsize() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:26:40 +02:00
Peng Haitao 681f627eee pthread_attr_setdetachstate.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_attr_setdetachstate() and
pthread_attr_getdetachstate() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:26:35 +02:00
Peng Haitao 7eea6fc323 ffs.3: ATTRIBUTES: Note functions that are thread-safe
The functions ffs(), ffsl() and ffsll() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:26:30 +02:00