Commit Graph

3836 Commits

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