Michael Kerrisk
e2928b4d77
CPU_SET.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 09:36:00 +02:00
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
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
Peng Haitao
ec3f0bf778
sigsetops.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions sigemptyset(), sigfillset(), sigaddset(),
sigdelset(), sigismember(), sigisemptyset(), sigorset() and
sigandset() 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:23 +02:00
Peng Haitao
e3de721c1a
makecontext.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions makecontext() and swapcontext() 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:16 +02:00
David Prévot
8a9849f29e
toupper.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 12:24:30 +02:00
Michael Kerrisk
7c5ca6668f
malloc.3: srcfix: Add FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-14 06:54:27 +02:00
Peng Haitao
9ac2ef8325
getcontext.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions getcontext() and setcontext() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:19:10 +02:00
Peng Haitao
b727421c8c
getauxval.3: ATTRIBUTES: Note function that is thread-safe
...
The function getauxval() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:18:52 +02:00
Peng Haitao
e511c66a5b
getutmp.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions getutmp() and getutmpx() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:18:27 +02:00
Peng Haitao
631f7a0962
getsubopt.3: ATTRIBUTES: Note function that is thread-safe
...
The function getsubopt() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:18:16 +02:00
Peng Haitao
7998494a13
byteorder.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions htonl(), htons(), ntohl() and ntohs() are thread
safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:17:48 +02:00
Simon Paillard
a03c016c7d
isalpha.3, stat.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:15:37 +02:00
Simon Paillard
5ee5df69ac
isalpha.3: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:14:52 +02:00
David Prévot
509a10ef17
man3/mbstowcs.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 21:00:09 +02:00
David Prévot
2654d1a86f
duplocale.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-10 20:59:32 +02:00
Michael Kerrisk
b8dbf73de8
bdflush.2, fsync.2, mmap.2, open.2, perf_event_open.2, sync.2, syscall.2, fmemopen.3, getaddrinfo.3, getline.3, mq_notify.3, offsetof.3, aio.7, symlink.7: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:47:35 +02:00
Michael Kerrisk
f8f8b9c1f6
termios.3: Add descriptive titles to noncanonical read() cases
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:20:51 +02:00
Michael Kerrisk
a9f0126fa6
termios.3: Clarify termination conditions for MIN > 0, TIME > 0
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:20:51 +02:00
Michael Kerrisk
e764d1b79d
termios.3: Clarify behavior if data is available before noncanonical read()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:20:51 +02:00
Michael Kerrisk
5ee2d3c5d6
termios.3: Add a note on interaction of O_NONBLOCK with noncanonical MIN/TIME
...
POSIX leaves the behavior open.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:20:50 +02:00
Michael Kerrisk
4b985dd60a
termios.3: Fix error in discussion of MIN > 0, TIME == 0 noncanonical mode
...
As reported by Peter Hurley, for the MIN > 0, TIME == 0 case:
read() may unblock when MIN bytes are available but return
up to the 'count' parameter if more input arrives in between
waking and copying into the user buffer.
...
read() may also _not_ return until MIN bytes have been
received, even if 'count' bytes have been received.
MTK: verified the above by experiment.
Reported-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:20:50 +02:00
Michael Kerrisk
959c4b2519
termios.3: ffix: reformat MIN/TIME list to use .TP
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-06 08:20:50 +02:00
Alexey Samsonov
cc82e457b2
getline.3: Caller should free the allocated buffer even if getline() failed
...
Relevant discussion in glibc bugzilla:
https://sourceware.org/bugzilla/show_bug.cgi?id=5666
test program:
$ cat tmp/getline/a.cc
#include <stdio.h>
int main() {
for (int x = 0; x < 2; x++) {
char *lineptr = 0;
size_t size = 0;
int res = getline(&lineptr, &size, stdin);
printf("%d\n%p\n", res, lineptr);
}
return 0;
}
$ gcc tmp/getline/a.cc && echo -n "xxx" > x && ./a.out < x
3
0x11ae010
-1
0x11ae090
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-02 12:10:03 +02:00
Michael Kerrisk
f3ef455821
fseek.3: Document EINVAL error for negative file offset
...
Reported-by: Petr Gajdos <pgajdos@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-02 09:45:02 +02:00
Peng Haitao
2995190026
fenv.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions feclearexcept(), fegetexceptflag(), feraiseexcept(),
fesetexceptflag(), fetestexcept(), fegetround(), fesetround(),
fegetenv(), feholdexcept(), fesetenv(), feupdateenv(),
feenableexcept(), fedisableexcept() and fegetexcept() are thread
safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-01 20:43:02 +02:00
Peng Haitao
3c7682247a
getpt.3: ATTRIBUTES: Note function that is thread-safe
...
The function getpt() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-01 20:42:39 +02:00
Peng Haitao
2841248208
getloadavg.3: ATTRIBUTES: Note function that is thread-safe
...
The function getloadavg() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-01 20:42:06 +02:00
Peng Haitao
8cad35ef8d
index.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions index() and rindex() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-01 20:41:39 +02:00
Peng Haitao
60bd4d858f
if_nametoindex.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions if_nametoindex() and if_indextoname() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-01 20:40:11 +02:00
Peng Haitao
53a70d91b6
random_r.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions random_r(), srandom_r(), initstate_r() and
setstate_r() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-01 20:15:14 +02:00
Peng Haitao
a04d14668d
random.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions random(), srandom(), initstate() and setstate()
are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-01 20:14:57 +02:00
Peng Haitao
d0e9615097
exit.3: ATTRIBUTES: Note function that is not thread-safe
...
The function exit() is not thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-01 20:14:16 +02:00
Peng Haitao
bcefc0e3bf
abort.3: ATTRIBUTES: Note function that is thread-safe
...
The function abort() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-01 20:13:57 +02:00
Peng Haitao
c1729f52a4
sigvec.3: wfix phrasing
...
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-01 20:13:31 +02:00
Peng Haitao
74fe201892
sigvec.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions sigvec(), sigblock(), sigsetmask() and
siggetmask() are thread safe.
The macro sigmask() is thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-01 20:13:26 +02:00
Peng Haitao
2b9e0a135b
mkfifo.3: ATTRIBUTES: Note functions that are thread-safe
...
The functions mkfifo() and mkfifoat() are thread safe.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-01 20:12:44 +02:00
Michael Kerrisk
f5e1d420c7
mallopt.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 13:57:25 +01:00
Michael Kerrisk
4af2001082
stdio.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 13:52:13 +01:00
Michael Kerrisk
9a9ca538a9
stdarg.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 13:51:57 +01:00
Michael Kerrisk
a27180c8a7
lround.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 13:51:07 +01:00
Michael Kerrisk
3f947a9225
lrint.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 13:50:52 +01:00
Michael Kerrisk
6259c9b79f
glob.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 13:50:15 +01:00
Michael Kerrisk
21fe8eeb0a
fmemopen.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 13:49:38 +01:00
Michael Kerrisk
9be479a6e7
fts.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 08:57:35 +01:00
Michael Kerrisk
9218ef3d54
wcstombs.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:18 +01:00
Michael Kerrisk
0ce769894a
wcsrtombs.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:18 +01:00
Michael Kerrisk
d38ff9afe5
wcsnrtombs.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:18 +01:00
Michael Kerrisk
09725fbcd9
wcrtomb.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:18 +01:00
Michael Kerrisk
96f2c6a744
mbstowcs.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:18 +01:00
Michael Kerrisk
d99f93e803
mbsrtowcs.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:18 +01:00
Michael Kerrisk
1b0b840de6
mbtowc.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:18 +01:00
Michael Kerrisk
d7e98586b2
mbsrtowcs.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:18 +01:00
Michael Kerrisk
90c3966f92
mbrtowc.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:18 +01:00
Michael Kerrisk
a8204fdaa8
mbsnrtowcs.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:18 +01:00
Michael Kerrisk
cfa65d73d0
iconv.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:18 +01:00
Michael Kerrisk
e787ab6d15
daemon.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:18 +01:00
Michael Kerrisk
441efbb7c9
wcstombs.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:18 +01:00
Michael Kerrisk
6be6892b9b
strfmon.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:17 +01:00
Michael Kerrisk
fa51e6a4ee
iconv.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:17 +01:00
Michael Kerrisk
1e8fdbd995
getgrouplist.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:17 +01:00
Michael Kerrisk
0e704469d4
strptime.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:16 +01:00
Michael Kerrisk
3fbfb6efa1
setbuf.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:16 +01:00
Michael Kerrisk
53df4e93e1
scanf.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:16 +01:00
Michael Kerrisk
f89652a6fa
recno.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:16 +01:00
Michael Kerrisk
2c0e75d560
malloc.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:16 +01:00
Michael Kerrisk
4c3fac103d
getaddrinfo.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:16 +01:00
Michael Kerrisk
b0b899194e
catopen.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:16 +01:00
Michael Kerrisk
113839c357
btree.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:16 +01:00
Michael Kerrisk
b947a03374
setjmp.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:16 +01:00
Michael Kerrisk
6186a355b0
longjmp.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:16 +01:00
Michael Kerrisk
e0268ba0f6
tmpnam.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:16 +01:00
Michael Kerrisk
830b5761ad
scanf.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:16 +01:00
Michael Kerrisk
16fe173721
hash.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:16 +01:00
Michael Kerrisk
2a82595444
exit.3: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:16 +01:00
Yuri Kozlov
c4920f2b96
fopen.3: tfix
...
Hello.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-26 07:33:15 +01:00
Michael Kerrisk
4d0c8feb3b
netlink.3: srcfix: remove a FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-20 13:50:05 +01:00
Michael Kerrisk
03e7803544
netlink.3: SEE ALSO: make the reference for libnetlink the libnetlink(3) man page
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-20 13:49:16 +01:00
Michael Kerrisk
aba863afed
fseeko.3: Add feature test macro requirements
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-20 08:34:52 +01:00
Michael Kerrisk
eff9ff0d37
fpathconf.3: SEE ALSO: add confstr(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-20 05:48:54 +01:00
Michael Kerrisk
e812955add
sysconf.3: SEE ALSO: add confstr(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-20 05:48:30 +01:00
Michael Kerrisk
7117b535bd
confstr.3: SEE ALSO: add getconf(1), fpathconf(3), sysconf(3), pathconf(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-20 05:47:33 +01:00
Michael Kerrisk
8c5fcd21e5
fmemopen.3, getaddrinfo.3, mq_notify.3, offsetof.3, aio.7: Print size_t/ssize_t values using %z printf() modifier
...
There are fewer and fewer systems these days that don't
support the %z specifier mandated in C99. So replace the
use of %ld/%lu + (long) cast with %zd/%zu.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-19 15:09:14 +01:00
Michael Kerrisk
c9c572814e
fts.3: Remove mention of "32-bit systems" in BUGS
...
Quoting Mike F:
i find the classic concept of "32-bit and 64-bit systems" to
not really fit into modern world (well, it's been this way
for much longer, so let's say "mainstream").
would you call all ILP32 ABIs 32-bit ? e.g. mips' n32 or
x86's x32. sizeof(long) == 4, but sizeof(off_t) == 8. POSIX
describes these as "ILP32 OFF64" while the classic 32-bit
systems are "ILP32 OFF".
you can (afaik) use -D_FILE_OFFSET_BITS=64 w/x32 and fts.h and
have it work.
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-19 14:25:56 +01:00
Michael Kerrisk
af9037df2d
fwide.3, wprintf.3: Remove mention of bogus _ISOC95_SOURCE feature test macro
...
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-19 14:22:26 +01:00
Michael Kerrisk
14e9f7cf4b
fcntl.2, strtol.3, strtoul.3, socket.7: ffix in feature test macro names
...
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-03-18 20:17:50 +01:00
Michael Kerrisk
89851a0054
Removed trailing white space at end of lines
2014-03-18 16:29:34 +01:00