Commit Graph

4049 Commits

Author SHA1 Message Date
Michael Kerrisk a4b636a055 on_exit.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:50 -05:00
Michael Kerrisk c6baa019d7 mktemp.3: Remove ancient Linux libc/glibc1 details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:50 -05:00
Michael Kerrisk e38998b116 mkstemp.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:50 -05:00
Michael Kerrisk 4558b2b07f lseek64.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:50 -05:00
Michael Kerrisk 4260479914 xcrypt.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:50 -05:00
Michael Kerrisk 7fbe05e407 strptime.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:50 -05:00
Michael Kerrisk eb0eae100b setbuf.3: Remove ancient Linux libc and 4.x BSD details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:50 -05:00
Michael Kerrisk da9b56b212 realpath.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:50 -05:00
Michael Kerrisk 6e76df0d35 memmem.3: Rewrite text of glibc 2.0 bug
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:50 -05:00
Michael Kerrisk b5a620f81f memmem.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk 79f341e34a getline.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk fa47e1fb39 des_crypt.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk 800a076a9e ctime.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk 0efb1d6fee strftime.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk 3f378fb07a flockfile.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk fe9025574c insque.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk 2e0a702427 insque.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk f51d8d4d4a glob.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk af3253cac7 getpass.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk 7e693a49ad getdtablesize.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk acd67de490 getcwd.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk 0b15830007 ftw.3: Add VERSIONS section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk c346cee465 ftw.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk 88ba465160 ftok.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk 2c3a7aa1a5 ftok.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk eb4a2faa88 ftime.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk 04e1cdc964 fseeko.3: Add VERSIONS section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk 504acd7023 fseeko.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk d9737a3c15 ecvt.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk 5d612d3cd4 clearenv.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk 3ef5eb1237 catopen.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk ee5f0bfd2a atoi.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk 47aa42e7ca atoi.3: Downgrade discussion of atoq()
Remove most references to atoq() in this page, since this function
was present only in Linux libc (not glibc).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk 2de012be8b abs.3: Remove ancient Linux libc details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:49 -05:00
Michael Kerrisk 0c2d0a66b8 strstr.3: Remove discussion of Linux libc bugs
Linux libc is old enough that we needn't care any longer.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-18 17:01:48 -05:00
Simon Paillard 03518b195e pthread_create.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-15 20:22:06 +02:00
Simon Paillard 298f72af97 pthread_attr_setschedparam.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-15 20:21:55 +02:00
Simon Paillard 3e2cae49c3 pthread_attr_setinheritsched.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-15 20:20:40 +02:00
Rahul Bedarkar 481d41f264 getline.3: Close opened file at end of example program
Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-01 21:56:01 +02:00
Michael Kerrisk f078c3fa6a printf.3: Update with some SUSv3 details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-01 15:29:17 +02:00
Michael Kerrisk c271056c86 printf.3: Note use of 'j', 'z', and 't' length modifiers for '%n'
See http://bugs.debian.org/756602

Reported-by: Jakub Wilk <jwilk@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-01 15:06:39 +02:00
Michael Kerrisk 9cc5e8b790 strtod.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-01 08:57:00 +02:00
Michael Kerrisk 145fb1b49a strtod.3: Explain NAN(n-char-sequence)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-01 08:57:00 +02:00
Michael Kerrisk 9b944b8d95 strtod.3: SEE ALSO: add nan(3), nanf(3), NANL(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-01 08:57:00 +02:00
Michael Kerrisk aacd17b1c1 printf.3: Clarify details of the %n conversion specifier
See http://bugs.debian.org/756602

Reported-by: Jakub Wilk <jwilk@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-08-01 08:57:00 +02:00
Peng Haitao 9a2b1ecac4 puts.3: tfix
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-29 06:48:23 +02:00
Michael Kerrisk f3d2d8bd2b cerf.3, cexp2.3, clog2.3: Update version number on "Not yet in glibc" sentence
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-28 13:40:27 +02:00
Michael Kerrisk 61100fc051 system.3: tfix
Reported-by: Damir Nedzibovic <d.nedzibovic@anoxtech.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-28 13:40:24 +02:00
Michael Kerrisk 89c1cb59ab getauxval.3: Document ENOENT error
And add an entry to BUGS explaining the ambiguity that was
present before the addition of this error.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-28 13:40:21 +02:00
Michael Kerrisk e0def8f50f pthread_getcpuclockid.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-20 09:22:47 +02:00
Michael Kerrisk b7800b443e fgetgrent.3, getgrent.3, getgrent_r.3, getgrnam.3: Clarify that 'gr_mem' is a NULL-terminated array of pointers
Reported-by: Rob Landley <rob@landley.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-20 09:22:35 +02:00
Michael Kerrisk 5e333b1bf1 getgrent.3, getgrent_r.3, getgrnam.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-14 21:23:39 +02:00
Michael Kerrisk c77eace5b1 iconv.1, ldd.1, connect.2, dup.2, epoll_ctl.2, eventfd.2, fallocate.2, fcntl.2, getitimer.2, inotify_add_watch.2, open.2, pipe.2, poll.2, sendmmsg.2, set_tid_address.2, shmop.2, signalfd.2, splice.2, syscalls.2, syslog.2, tee.2, vmsplice.2, ether_aton.3, mallopt.3, printf.3, profil.3, charmap.5, proc.5, epoll.7, inotify.7, libc.7, pipe.7, sched.7, socket.7, udplite.7, iconvconfig.8, ld.so.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-08 16:14:48 +02:00
Michael Kerrisk 5f97eb3b5b profil.3: SEE ALSO: add sprof(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-08 16:07:48 +02:00
Michael Kerrisk 2460ac0e19 mallopt.3: MALLOC_MMAP_THRESHOLD_ and MALLOC_MMAP_MAX_ *do* work in setgid programs
My testing on this point was bogus, overlooking details of
strace(1)'s behavior with setuid programs.

See https://sourceware.org/bugzilla/show_bug.cgi?id=12155

Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-07-01 08:16:37 +02:00
Michael Kerrisk 812040568c printf.3: Update references to standards for C and S conversion specifiers
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-29 09:49:08 +02:00
Michael Kerrisk 5afad698ec printf.3: Remove some old text about glibc 2.0 changes
We probably don't now need such ancient info.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-29 09:49:08 +02:00
Michael Kerrisk f835f2c4d9 printf.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-29 09:49:08 +02:00
Michael Kerrisk fb307ec732 getpass.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-29 09:49:08 +02:00
Michael Kerrisk c2b5a65ea5 cmsg.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-29 09:49:08 +02:00
Michael Kerrisk 7905872b28 printf.3: Remove libc4 and libc5 details
Rich Felker noted that "scare text" in the man page warned about
the use of snprintf() on libc, and that some people had cited
this as a reason not to use snprintf().  Linux libc is now
ancient history, so there is no real need to keep that text.
But, while we're at it, we may as well clear out all of the
other ancient libc4 and libc5 pieces in the page. They are
nowadays more clutter than help.

Reported-by: Rich Felker <dalias@libc.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-29 09:49:08 +02:00
Michael Kerrisk 57598eb158 printf.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-29 09:49:08 +02:00
Michael Kerrisk 588d27ea86 printf.3: SUSv3 and later agree with C99 for the snprintf() return value
Determined by inspection of the SUSv3 and SUSv4 specifications.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-29 09:49:02 +02:00
Michael Kerrisk 053cd4306c ether_aton.3: Make description of ether_line() bug a little more informative
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-20 07:41:03 +02:00
Michael Kerrisk a53a30b714 encrypt.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-20 07:10:40 +02:00
Michael Kerrisk eb9a0b2f75 intro.1, gettimeofday.2, mkdir.2, nice.2, setresuid.2, stime.2, adjtime.3, getttyent.3, proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-18 15:38:13 +02:00
Michael Kerrisk ad5b45abe5 localedef.1, execve.2, fcntl.2, flock.2, lseek.2, open.2, open_by_handle_at.2, recvmmsg.2, sendmmsg.2, seteuid.2, setresuid.2, setreuid.2, setuid.2, statfs.2, syscalls.2, basename.3, catgets.3, getdate.3, getdirentries.3, getdtablesize.3, iconv.3, lockf.3, malloc_get_state.3, malloc_usable_size.3, matherr.3, mkdtemp.3, mkstemp.3, mq_close.3, mq_unlink.3, siginterrupt.3, system.3, locale.5, bootparam.7, environ.7, man-pages.7, signal.7, unicode.7, utf-8.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-13 17:15:44 +02:00
Michael Kerrisk 054f9fb2fc iconv.3: SEE ALSO: add iconvconfig(8)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-13 13:44:17 +02:00
Peng Haitao 2d89d613e2 getdtablesize.3: ATTRIBUTES: Note function that is thread-safe
The function getdtablesize() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-11 11:25:44 +02:00
Peng Haitao 09b46b1f85 mkstemp.3: ATTRIBUTES: Note functions that are thread-safe
The functions mkstemp(), mkostemp(), mkstemps() and mkostemps()
are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-11 10:42:53 +02:00
Peng Haitao 6a40408580 getdirentries.3: ATTRIBUTES: Note function that is thread-safe
The function getdirentries() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-11 10:39:43 +02:00
Peng Haitao 5575c22f3c siginterrupt.3: ATTRIBUTES: Note function that is not thread-safe
The function siginterrupt() is not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-11 10:39:29 +02:00
Qian Lei e5ea2ae7e4 iconv.3: ATTRIBUTES: Note function that is thread-safe
The function iconv() is thread safe.

Reviewed-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-11 10:38:09 +02:00
Qian Lei 3d004cf09b lockf.3: ATTRIBUTES: Note function that is thread-safe
The function lockf() is thread safe.

Reviewed-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-11 10:37:44 +02:00
Qian Lei d79dfbf6f6 matherr.3: ATTRIBUTES: Note function that is thread-safe
The function matherr() is thread safe.

Reviewed-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-11 10:36:44 +02:00
Michael Kerrisk 86d9d9b4e1 bindresvport.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-11 10:07:04 +02:00
Qian Lei 4b5ef0864e malloc_usable_size.3: ATTRIBUTES: Note function that is thread-safe
The function malloc_usable_size() is thread safe.

Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-10 16:46:34 +02:00
Qian Lei dda654f418 mq_getattr.3: ATTRIBUTES: Note function that is thread-safe
The functions mq_getattr() and mq_setattr() are thread safe.

Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-10 16:46:10 +02:00
Qian Lei 0e7d2e7fcd mq_close.3: ATTRIBUTES: Note function that is thread-safe
The function mq_close() is thread safe.

Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-10 16:45:44 +02:00
Qian Lei 7675964213 mq_unlink.3: ATTRIBUTES: Note function that is thread-safe
The function mq_unlink() is thread safe.

Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-10 16:45:05 +02:00
Peng Haitao fee98b6e5c mkdtemp.3: ATTRIBUTES: Note function that is thread-safe
The function mkdtemp() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-09 21:28:42 +02:00
Peng Haitao 61d995d649 basename.3: ATTRIBUTES: Note functions that are thread-safe
The functions basename() and dirname() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-09 21:28:42 +02:00
Peng Haitao 527c8d41b9 system.3: ATTRIBUTES: Note function that is thread-safe
The function system() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-09 21:28:42 +02:00
Michael Kerrisk f4dc1f56ee catgets.3: wfix
Reported-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-09 21:28:42 +02:00
Peng Haitao 8114fa1417 catgets.3: ATTRIBUTES: Note function that is thread-safe
The function catgets() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-09 21:28:42 +02:00
Peng Haitao dfc41d9cfb mq_send.3: ATTRIBUTES: Note functions that are thread-safe
The functions mq_send() and mq_timedsend() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 21:16:54 +02:00
Peng Haitao db17fccda4 mq_receive.3: ATTRIBUTES: Note functions that are thread-safe
The functions mq_receive() and mq_timedreceive() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 21:16:38 +02:00
Peng Haitao 73d140c732 mq_open.3: ATTRIBUTES: Note function that is thread-safe
The function mq_open() is thread safe.

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

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 21:15:55 +02:00
Peng Haitao 955269b430 posix_fallocate.3: ATTRIBUTES: Note function that is thread-safe
The function posix_fallocate() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 21:12:41 +02:00
Rasmus Villemoes ebae2ae3ce malloc_get_state.3: SYNOPSIS: use correct header
The nonstandard functions malloc_set_state() and
malloc_get_state() are provided by <malloc.h> not <stdlib.h>.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 20:54:53 +02:00
Rasmus Villemoes 21e2ed664a getdate.3: Use blank definition of _GNU_SOURCE
Only the definedness of _GNU_SOURCE matters, so eliminate a possible
source of confusion by not using a specific replacement text in the
example program.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-06-04 20:44:16 +02:00
Michael Kerrisk 8660ef9f1d locale.1, adjtimex.2, clone.2, fork.2, getrlimit.2, remap_file_pages.2, set_mempolicy.2, swapon.2, a64l.3, adjtime.3, argz_add.3, bstring.3, envz_add.3, fpathconf.3, fseek.3, gcvt.3, getaddrinfo_a.3, getauxval.3, getnameinfo.3, getrpcent.3, getrpcport.3, getspnam.3, getutent.3, inet.3, inet_net_pton.3, key_setsecret.3, makecontext.3, makedev.3, malloc_trim.3, mq_getattr.3, newlocale.3, nl_langinfo.3, perror.3, pthread_attr_setaffinity_np.3, pthread_attr_setdetachstate.3, pthread_attr_setguardsize.3, pthread_attr_setscope.3, pthread_attr_setstack.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_cleanup_push_defer_np.3, pthread_create.3, pthread_setname_np.3, pthread_setschedparam.3, pthread_setschedprio.3, pthread_sigqueue.3, rcmd.3, re_comp.3, resolver.3, rexec.3, rtime.3, scandir.3, setlocale.3, setnetgrent.3, sigvec.3, tsearch.3, core.5, proc.5, charsets.7, locale.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 15:42:25 +02:00
Michael Kerrisk 99a2c32928 newlocale.3: Add LC_ALL_MASK description
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 12:05:04 +02:00
Marko Myllynen 4de4d201a3 newlocale.3: List all available category masks
Patch edited slightly by mtk.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-28 12:02:58 +02:00
Marko Myllynen dbe0246bed nl_langinfo.3: expand the example code a bit
Better illustrate querying elements from different categories.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-24 20:28:25 +02:00
Michael Kerrisk 348aab3724 setlocale.3: Simply locale category listing and add GNU-specific locale categories
Some information that was here will move to locale(7).

Reported-by: Marko Myllynen <myllynen@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-24 20:28:25 +02:00
Michael Kerrisk e0396d76b2 setlocale.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-24 20:28:25 +02:00
Marko Myllynen 261ce50b66 setlocale.3: Remove now obsolete NOTES section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-24 20:28:25 +02:00
Peng Haitao 13b792dcc2 pthread_setaffinity_np.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_setaffinity_np() and
pthread_getaffinity_np() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-23 10:32:15 +02:00
Peng Haitao cb63c0fcd3 pthread_exit.3: ATTRIBUTES: Note function that is thread-safe
The function pthread_exit() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-23 08:49:42 +02:00
Peng Haitao 6b0949f0f1 pthread_equal.3: ATTRIBUTES: Note function that is thread-safe
The function pthread_equal() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-23 07:10:22 +02:00
Peng Haitao 949fea39cb pthread_getcpuclockid.3: ATTRIBUTES: Note function that is thread-safe
The function pthread_getcpuclockid() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-23 05:59:16 +02:00
Peng Haitao 3ef3728c9f pthread_setconcurrency.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_setconcurrency() and
pthread_getconcurrency() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-23 05:58:35 +02:00
Rasmus Villemoes da9a495eaa tsearch.3: Fix prototype
The rootp argument to tfind is "void * const *",
not "const void **".

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:28 +02:00
Rasmus Villemoes ecf9e5f83e scandir.3: Fix prototypes
The alphasort and versionsort functions take arguments of type const
struct dirent **, not const void *.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:28 +02:00
Rasmus Villemoes 0c5e1f653a resolver.3: Fix prototypes and extern-declaration
Fix const- and signedness of various char* parameters.

Also, there is no "struct state", but _res is a struct
__res_state. (Actually, _res is errno-like in that it is really a
macro expanding to (*__res_state()).)

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:28 +02:00
Rasmus Villemoes bc572b8fb3 key_setsecret.3: Fix prototypes
Remove const qualifiers from arguments to key_decryptsession,
key_encryptsession, and key_setsecret.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:28 +02:00
Rasmus Villemoes d928796115 xdr.3: tfix
Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:28 +02:00
Rasmus Villemoes 60bc9dc21d getauxval.3: Fix permissions
There doesn't seem to be any reason for getauxval.3 to be
executable...

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:28 +02:00
Rasmus Villemoes d7f5fd1b79 setnetgrent.3: Fix prototype
The buflen argument to getnetgrent_r has type size_t.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:28 +02:00
Rasmus Villemoes 7accd93791 sigvec.3: Fix prototype
The vec argument to sigvec is const.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:28 +02:00
Rasmus Villemoes 7362924b39 rtime.3: Replace header
The header <rpc/des_crypt.h> does not provide rtime();
<rpc/auth_des.h> does, as is also implied in both the NOTES and
EXAMPLE sections.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:28 +02:00
Rasmus Villemoes 38cea4d1ff rexec.3: Fix prototypes
The user, passwd and cmd arguments to rexec and rexec_af are all
const.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes 5ceebb5488 re_comp.3: Fix prototypes
re_comp and re_exec take const char* arguments.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes ed3ab3bd38 rcmd.3: Fix prototypes
Unlike the BSDs, the second argument of rcmd() and rcmd_af() has
type unsigned short.

The first argument of iruserok_af() has type const void*.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes 1ac20a9e01 pthread_setschedprio.3: Fix prototype
Add return type for pthread_setschedprio.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes 553c77668d pthread_setschedparam.3: Fix prototypes
Add return type for pthread_{s,g}etschedparam.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes 3ea7055765 pthread_setname_np.3: Fix prototype
The name parameter of pthread_getname_np is an output parameter and
hence not const.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Michael Kerrisk cff17c1b64 pthread_cleanup_push_defer_np.3: Add feature test macro requirements
Reported-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes e59f5f584c pthread_attr_setaffinity_np.3, pthread_attr_setdetachstate.3, pthread_attr_setguardsize.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setscope.3, pthread_attr_setstack.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3: Constify parameters
Each of the pthread_attr_get* functions extract some piece of
information from a pthread_attr_t, which is passed by const
reference. Add the const keyword to the prototypes of these
functions.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes d795791f2d pthread_sigqueue.3: Add missing #include <signal.h>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes 6729be5418 perror.3: Fix declaration
The elements of the array sys_errlist are also const.

Also, it is probably not desirable to pretend that errno.h defines
errno in the traditional way (errno(3) correctly contains an explicit
warning against this). I don't know what the best solution is, though.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes b39c9a519c mq_getattr.3: Fix prototype
The newattr parameter to mq_setattr is const.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes 7b7fbe7865 malloc_trim.3: Fix prototype
As mentioned further down, malloc_trim returns an integer.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes eb696b73e7 makedev.3: Fix prototype
gnu_dev_makedev, and hence its trivial macro wrapper makedev, takes
two unsigned int parameters; this is consistent with it being the
inverse of (gnu_dev_)major/minor, which return unsigned int.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes b7f0ef9ed6 makecontext.3: Fix prototype
The second argument to swapcontext() is const.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes 92263c071c inet.3: Fix prototype
The parameters to inet_makeaddr have type in_addr_t.

Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes 2548b25240 inet_net_pton.3: srcfix, cfix
Use a consistent style throughout the man-pages.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes 8c7d2f0455 getrpcport.3: Add #include and fix prototype
The prototype for getrpcport() is obtained by #include'ing
<rpc/rpc.h>. Also, update its prototype.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes bf8f95ee9f getutent.3: Fix prototypes
The arguments to getutid(), getutline(), and pututline()
are const.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes ff9ebfeb1e getspnam.3: Fix prototype
The struct spwd argument to putspent() is const.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Michael Kerrisk c15f85d88b getnameinfo.3: Note types of 'hostlen'; and 'servlen' in glibc < 2.2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes d2ff71f985 getrpcent.3: Fix prototype
The argument to getrpcbyname() is const.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes 7c1e49d254 getnameinfo.3: Fix prototype
The hostlen and servlen parameters to have type socklet_t.
mtk: The types changed in glibc 2.2, with commit
e10b8512ce40cfb9f706e40edc7ed0ebdd151471

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes 8c5ffcfa85 getaddrinfo_a.3: Fix prototype
The pointer arguments to gai_suspend() are const.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes d19a532bd3 fseek.3: Fix prototype
The pos argument to fsetpos() is const.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes 5f69515b20 gcvt.3: Fix prototype
The ndigit paramenter to gcvt() has type int.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes 86138c4d0d fpathconf.3: Fix prototype
The path argument to pathconf() is const.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes 5c1d7bcaab envz_add.3: Fix prototypes
The envz_len parameters for envz_entry() and envz_get() are not
passed by reference.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes fa92a07b55 dl_iterate_phdr.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes 6b0e428029 bstring.3: Fix prototypes
The length parameter n has type size_t in bcmp(), bcopy() and bzero().

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:27 +02:00
Rasmus Villemoes 37565883e0 adjtime.3: Add required header
The prototype for adjtime(3) is declared in <sys/time.h>.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:26 +02:00
Rasmus Villemoes 888904f422 argz_add.3: Fix prototypes
Update the prototypes of argz_{delete,extract,next} to agree with
glibc headers and manual.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:26 +02:00
Rasmus Villemoes 06024da0df a64l.3: Fix prototype for a64l()
The argument is const, both according to POSIX and the
glibc headers.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:26 +02:00
Michael Kerrisk 20cbd039b2 pthread_create.3: Add pid_max limit to EAGAIN error cases
Reported-by: Carsten Grohmann <carstengrohmann@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:23:26 +02:00
Simon Paillard f5b9f41340 stdio.3: tfix
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748887

Reported-by: Colin Williams <colinwilliams1968@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-22 08:18:38 +02:00
Michael Kerrisk 3d15531307 chown.2, fcntl.2, futex.2, recvmmsg.2, sched_setscheduler.2, semget.2, shmget.2, malloc.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_setaffinity_np.3, strcpy.3, capabilities.7, cpuset.7, credentials.7, pthreads.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-21 13:15:30 +02:00
Michael Kerrisk 8228dbfeca popen.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 16:23:36 +02:00
Michael Kerrisk 170752fde9 puts.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 12:36:54 +02:00
Michael Kerrisk 890968b1b1 getpwent.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 12:34:44 +02:00
Peng Haitao 8276212a04 pthread_setschedparam.3: ATTRIBUTES: Note functions that are thread-safe
The functions pthread_setschedparam() and pthread_getschedparam()
are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 11:04:06 +02:00
Michael Kerrisk d647d5e156 getfsent.3: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-05-19 10:11:08 +02:00
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