Commit Graph

3745 Commits

Author SHA1 Message Date
Michael Kerrisk 5082cfc3fd CPU_SET.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 09:35:18 +02:00
Peng Haitao f0151ef15a pthread_testcancel.3: ATTRIBUTES: Note function that is thread-safe
The function pthread_testcancel() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 08:46:15 +02:00
Peng Haitao 6328c024d9 pthread_sigqueue.3: ATTRIBUTES: Note function that is thread-safe
The function pthread_sigqueue() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 08:16:04 +02:00
Peng Haitao 21f8044926 pthread_sigmask.3: ATTRIBUTES: Note function that is thread-safe
The function pthread_sigmask() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 08:16:04 +02:00
Peng Haitao 49a933b01e pthread_setschedprio.3: ATTRIBUTES: Note function that is thread-safe
The function pthread_setschedprio() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 08:16:04 +02:00
Michael Kerrisk a699d2f277 sincos.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-18 13:15:57 +02:00
Michael Kerrisk 98a9b1ab5a malloc_get_state.3: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-17 17:32:47 +02:00
Michael Kerrisk a414d0b502 inet.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-17 07:33:39 +02:00
Michael Kerrisk d2919f1ed8 sigqueue.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 16:06:43 +02:00
Michael Kerrisk 364a18ea9a pthread_setcancelstate.3: Add paragraph breaks to "Asynchronous cancelability" subsection
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 15:43:20 +02:00
Michael Kerrisk fad1a267b7 pthread_setcancelstate.3: NOTES: Add some subheadings
(No content changes.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 15:43:20 +02:00
Michael Kerrisk 85874d4c53 malloc.3: Reword text referring to mallopt(3)
Linux libc is no longer "recent"; drop mention of it.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 15:43:20 +02:00
Michael Kerrisk 68fc27f79a ctime.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 15:24:47 +02:00
Michael Kerrisk 159c95e1db strcpy.3: NOTES: Add a subheading
(No content changes.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-15 14:38:20 +02:00
Michael Kerrisk 25ac81736e pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_setaffinity_np.3, pthread_setschedparam.3, pthread_setschedprio.3, pthread_yield.3, pthreads.7: Change references to "sched_setscheduler(2)" to "sched(7)"
Change consistent with the fact that the scheduling overview
page is now sched(7) not sched_setscheduler(2).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-14 21:19:59 +02:00
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