Commit Graph

3846 Commits

Author SHA1 Message Date
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