Commit Graph

1958 Commits

Author SHA1 Message Date
Petr Baudis a2f86747f1 fopencookie.3: fopencookie() needs _GNU_SOURCE feature test macro
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:21 -05:00
Petr Baudis 5f0aa64a2e fopen.3: SEE ALSO: Add fmemopen(3) and fopencookie(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:21 -05:00
Petr Baudis da607ba120 fmemopen.3: SEE OPEN: Add fopencookie(3)
fopencookie(3) is used to implement fmemopen().

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:20 -05:00
Michael Kerrisk 2656acee7d atexit.3: Calling exit(3) more than once produces undefined results
If an exit handler itself calls exit(3), the results are
undefined (see the POSIX.1-2001 specification of exit(3)).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:20 -05:00
Michael Kerrisk db217984ec atexit.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:20 -05:00
Michael Kerrisk ee394477fa atexit.3: The same exit handler may be registered multiple times
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:20 -05:00
Michael Kerrisk 41bf770ca3 atexit.3: Calling _exit(2) terminates processing of exit handlers
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:20 -05:00
Michael Kerrisk 374b9a8f7b atexit.3: atexit() and on_exit(3) register functions on the same list
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:19 -05:00
Michael Kerrisk 84fc5566f5 atexit.3: Terminating registered function using longjmp() is undefined
According to POSIX.1, using longjmp() to terminate execution of
a function registered using atexit() produces undefined results.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:19 -05:00
Michael Kerrisk 7c298e468d atexit.3: Terminating registered function using longjmp() is undefined
According to POSIX.1, using longjmp() to terminate execution of
a function registered using atexit() produces undefined results.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:19 -05:00
Michael Kerrisk d8437814df on_exit.3: Arg given to registered function is status from *last* call to exit()
It's a subtle point, but if a registered function itself
calls exit(3), then subsequent functions that were registered
with on_exit(3) will see the exit status given to the more
recent exit(3) call.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:19 -05:00
Michael Kerrisk 36a0cc2596 on_exit.3: Document handling of registrations on fork(2) and execve(2)
Treatment in these cases is the same as for atexit(3).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:19 -05:00
Michael Kerrisk 6a275cde4d on_exit.3: Note that same function may be registered multiple times
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:18 -05:00
Michael Kerrisk 22a33e86af envz_add.3, wordexp.3: wsfix 2008-12-05 22:47:18 -05:00
Michael Kerrisk df4ab0f63f pthread_cleanup_pop_restore_np: New link to new pthread_cleanup_push_defer_np.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:17 -05:00
Michael Kerrisk f06b4f5c47 pthread_cleanup_push_defer_np.3: New page for pthread_cleanup_push_defer_np(3) and pthread_cleanup_pop_restore_np(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:29:01 -05:00
Michael Kerrisk 46c0fadf3a remove.3: Minor rewordings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:29:00 -05:00
Michael Kerrisk 0c637bbd95 isatty.3: ffix wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:29:00 -05:00
Michael Kerrisk fac9854624 isatty.3: Complete rewrite of this page, with rather more detail
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:29:00 -05:00
Michael Kerrisk c4e7b71426 getpeername.2, getsockname.2, getsockopt.2, recv.2, send.2, shutdown.2, sockatmark.3, socket.7, udplite.7: SYNOPSIS: Rename socket file descriptor argument to 'sockfd'
Many sockets man pages use the name 'sockfd' already.
For consistency, changes the others to do so as well.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:56 -05:00
Mats Wichmann 4510cb9d07 bindresvport.3: SYNOPSIS: s/\*\*/*/ in prototype
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:56 -05:00
Mats Wichmann 56b2037871 bindresvport.3: wfix tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:56 -05:00
Andries E. Brouwer be4c136ad5 atan.3: Fix return value description
The correct range for the return value is [-pi/2,pi/2].
(mtk's fix in the last change to the return value text was
a botch-up of a (correct) suggestion by Nicolas Francois.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:55 -05:00
Michael Kerrisk 2bada9cfe0 makedev.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:55 -05:00
Michael Kerrisk 0382510bc1 makedev.3: srcfix: remove FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:54 -05:00
Michael Kerrisk 4770bc9118 gnu_dev_major.3, gnu_dev_makedev.3, gnu_dev_minor.3, major.3, minor.3: New links to new makedev(3) page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:54 -05:00
Michael Kerrisk 47a0131ab7 makedev.3: New page for makedev(), major(), and minor() macros
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reviewed-by: Phil Endecott <phil_vonar_endecott@chezphil.org>
2008-12-05 22:28:54 -05:00
Sam Varshavchik 314c72c381 CPU_SET.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-28 11:18:52 -05:00
Michael Kerrisk a113945faa Removed trailing white space at end of lines 2008-11-25 21:44:53 -05:00
Michael Kerrisk a86f0a4b0e pthread_setcancelstate.3: Add another sentence to NOTES on asynchronous cancelability
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:26 -05:00
Michael Kerrisk f5410853fb pthread_setcancelstate.3: spfix 2008-11-25 20:54:26 -05:00
Michael Kerrisk 0ac743c540 pthread_cleanup_push.3: minor fix to example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:26 -05:00
Michael Kerrisk f90fec66e2 pthread_cleanup_push.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:26 -05:00
Michael Kerrisk 28e00ccfa5 pthread_cleanup_push.3: Prematurely exiting a cleanup block is undefined according to POSIX.1
POSIX.1 says that prematurely exiting a push/pop block
yields undefined results.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:25 -05:00
Michael Kerrisk ee1534cb43 pthread_setcancelstate.3: integrated suggestions by Loic Domaigne
Loic Domaigne suggested some rewordings of the NOTES paragraph
that discusses the utility of asynchronous cancelability.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reviewed-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:24 -05:00
Pierre-Paul Paquin a3dadfe86f sigwait.3: wfix: s/set/sig/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:24 -05:00
Michael Kerrisk 5a2ff571fb connect.2, listen.2, send.2, uname.2, cmsg.3, proc.5, arp.7, ddp.7, icmp.7, ip.7, raw.7, socket.7, tcp.7, udp.7: Global fix: eliminate mention of the obsolete sysctl(2) interface
Many pages still mention use of the obsolete sysctl(2) system
call, or used the term "sysctls"; rewrite these mentions to
instead be in terms of /proc interfaces.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:11 -05:00
Stefano Teso d62d92dc5f atan2.3: Fix description of range of function value return
The range is not [-pi/2, pi/2], but [-pi, pi].

(mtk: This error was reported by Nicolas Francois, and
should have been fixed in 3.11, but somewhere along the way,
the fix got lost.)

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506299

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:09 -05:00
Michael Kerrisk 71fea60784 fcntl.2, signal.2, mbsnrtowcs.3, mbsrtowcs.3, mbtowc.3, wcrtomb.3, wcsnrtombs.3, wcsrtombs.3, wctomb.3: Global fix: s/multi-thread/multithread/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:08 -05:00
Michael Kerrisk 222d90f4e9 pthread_getattr_np.3, pthread_setschedparam.3: wfix 2008-11-25 20:54:04 -05:00
Michael Kerrisk 653c3aedae pthread_cancel.3: Integrate review feedback from Loic Domaigne
Various fixes, as suggested by Loic.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reviewed-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:04 -05:00
Michael Kerrisk bdd7090bea pthread_testcancel.3: minor: Review by Loic Domaigne
Reviewed by Loic; no problems found.

Reviewed-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:03 -05:00
Michael Kerrisk 5b99d42600 pthread_attr_setinheritsched.3: wfix: s/thread/addr/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:03 -05:00
Michael Kerrisk 50b1e6a7f8 pthread_setschedparam.3: PTHREAD_INHERIT_SCHED is default for inherit scheduler attribute
In EXAMPLE, note that PTHREAD_INHERIT_SCHED is the default for
the inherit scheduler attribute attribute.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:03 -05:00
Michael Kerrisk 48718eb35f pthread_cancel.3, pthread_detach.3, pthread_join.3, pthread_setaffinity_np.3: Make text of ESRCH error consistent
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:03 -05:00
Michael Kerrisk 4c5f54136d pthread_attr_setschedparam.3, pthread_setschedparam.3: Remove text saying that only sched_priority is required by POSIX.1
Loic Domaigne points out that if a system implements
SCHED_SPORADIC (which Linux does not), then other
fields are also specified in sched_param.  The simple
solution is just to remove that phrase from the man
page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:03 -05:00
Michael Kerrisk 65cc854059 pthread_setaffinity_np.3: srcfix: spfix 2008-11-25 20:54:02 -05:00
Michael Kerrisk 803486cb45 pthread_setaffinity_np.3: srcfix: Add comment: CONFIG_NR_CPUS may become obsolete one day 2008-11-25 20:54:02 -05:00
Michael Kerrisk d4ac23a7e2 pthread_testcancel.3: New page for pthread_testcancel(3) 2008-11-25 20:54:02 -05:00
Michael Kerrisk ed2d523671 pthread_setcanceltype.3: New link to new pthread_setcancelstate.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:02 -05:00
Michael Kerrisk ccb42cb832 pthread_setcancelstate.3: New page for pthread_setcancelstate(3) and pthread_setcanceltype(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:01 -05:00
Michael Kerrisk 9e528f3de9 pthread_cancel.3: New page for pthread_cancel(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:01 -05:00
Michael Kerrisk 28f09cec39 pthread_cleanup_pop.3: New link to new pthread_cleanup_push.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:01 -05:00
Michael Kerrisk b126ec4b87 pthread_cleanup_push.3: New page for pthread_cleanup_push(3) and pthread_cleanup_pop(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:01 -05:00
Michael Kerrisk f4efb1e28b CPU_SET.3: NOTES: Discuss use of types in "prototypes" for these macros
The SYNOPSIS shows types for arguments and return values, but
these are really just suggestions: since the interfaces are
macros, the compiler won't catch all violations of
the "type rules".  Warn the reader of this.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:01 -05:00
Michael Kerrisk 6ee1c2aaf5 pthread_attr_setaffinity_np.3: Various fixes after review by Loic Domaigne
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reviewed-by: Loic Domaigne <tech@domaigne.com>
2008-11-25 20:54:01 -05:00
Michael Kerrisk 188cf22e22 pthread_create.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:00 -05:00
Michael Kerrisk 532f0406fe pthread_setaffinity_np.3: Add text to EINVAL error mentioning cpuset(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:54:00 -05:00
Michael Kerrisk 553e8b962e pthread_setaffinity_np.3: tfix 2008-11-25 20:54:00 -05:00
Michael Kerrisk f5bf1e9b13 pthread_setaffinity_np.3: Various improvements after review by Loc Domaigne
Various fix-ups after Loc's review.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reviewed-by: Loc Domaigne <tech@domaigne.com>
2008-11-25 20:54:00 -05:00
Michael Kerrisk 23bb5732b2 pthread_attr_getinheritsched.3: New link to new pthread_attr_setinheritsched.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:59 -05:00
Michael Kerrisk 2fac17032a CPU_SET.3: minor: tweak NOTES text on CPU_SETSIZE and 'setsize'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:59 -05:00
Michael Kerrisk 50ee5bc147 CPU_SET.3: spfix 2008-11-25 20:53:59 -05:00
Michael Kerrisk e973db1769 CPU_SET.3: minor: tweak text of BUGS section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:59 -05:00
Michael Kerrisk 6924199053 CPU_SET.3: Various improvements in DESCRIPTION
After review comments by Bert Wesarg:

* Explain that cpu_set_t is a bitset, but should be considered
  opaque.
* A CPU set can be duplicated with memset().
* Size of a CPU set is rounded up to size of long.
* CPU_SETSIZE is in bits, but the setsize argument is in bytes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Bert Wesarg <bert.wesarg@googlemail.com>
Reviewed-by: Bert Wesarg <bert.wesarg@googlemail.com>
2008-11-25 20:53:59 -05:00
Michael Kerrisk b62e354822 CPU_SET.3: Document CPU_ALLOC()/CPU_ALLOC_SIZE() bug
These macros return twice what they should because of thinko
in glibc 2.8 and earlier.  The bug is fixed for glibc 2.9.
http://sourceware.org/bugzilla/show_bug.cgi?id=7029

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:58 -05:00
Michael Kerrisk 7844c4ea58 CPU_ZERO_S.3: New link to new CPU_SET.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:57 -05:00
Michael Kerrisk 4ce33dc68a CPU_XOR_S.3: New link to new CPU_SET.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:57 -05:00
Michael Kerrisk 3b0122a7a8 CPU_XOR.3: New link to new CPU_SET.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:57 -05:00
Michael Kerrisk 474dc065be CPU_SET_S.3: New link to new CPU_SET.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:56 -05:00
Michael Kerrisk 6a7fe37559 CPU_OR_S.3: New link to new CPU_SET.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:56 -05:00
Michael Kerrisk 966280197f CPU_OR.3: New link to new CPU_SET.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:56 -05:00
Michael Kerrisk f4c2bad396 CPU_ISSET_S.3: New link to new CPU_SET.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:56 -05:00
Michael Kerrisk d008b874b2 CPU_FREE.3: New link to new CPU_SET.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:56 -05:00
Michael Kerrisk ca8a860474 CPU_EQUAL_S.3: New link to new CPU_SET.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:55 -05:00
Michael Kerrisk 0e972f10fb CPU_EQUAL.3: New link to new CPU_SET.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:55 -05:00
Michael Kerrisk dc23951093 CPU_COUNT_S.3: New link to new CPU_SET.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:55 -05:00
Michael Kerrisk ff07d3d53e CPU_CLR_S.3: New link to new CPU_SET.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:55 -05:00
Michael Kerrisk 94ed3c6315 CPU_AND_S.3: New link to new CPU_SET.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:54 -05:00
Michael Kerrisk 25717f3a2b CPU_AND.3: New link to new CPU_SET.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:54 -05:00
Michael Kerrisk e0685b4078 CPU_ALLOC_SIZE.3: New link to new CPU_SET.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:54 -05:00
Michael Kerrisk 6dc17d0692 CPU_ALLOC.3: New link to new CPU_SET.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:54 -05:00
Michael Kerrisk 214c1dd290 CPU_SET.3: grfix 2008-11-25 20:53:54 -05:00
Michael Kerrisk aa633a586d CPU_SET.3: Fix return type of CPU_ALLOC_SIZE() in SYNOPSIS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:53 -05:00
Michael Kerrisk 488d0e98f3 CPU_SET.3: Add description of macros for dynamically allocated CPU sets
Add descriptions of CPU_ALLOC(), CPU_ALLOC_SIZE(), CPU_FREE(),
CPU_SET_S(), CPU_CLR_S(), CPU_ISSET_S(), CPU_ZERO_S(),
CPU_COUNT_S(), CPU_AND_S(), CPU_OR_S(), CPU_XOR_S(), and
CPU_EQUAL_S().
2008-11-25 20:53:53 -05:00
Michael Kerrisk 94934ae71c CPU_SET.3: Add description of CPU_AND(), CPU_OR, CPU_XOR(), and CPU_EQUAL()
Plus a few other small clean-ups of the text

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:53 -05:00
Michael Kerrisk df79be827a CPU_SET.3: minor: reorder some text, whitespace fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:53 -05:00
Michael Kerrisk f7eec8970c CPU_SET.3: minor: s/1024/currently 1024/ for description of CPU_SETSIZE
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:53 -05:00
Michael Kerrisk f48bf14117 CPU_COUNT.3: New link to CPU_SET.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:53 -05:00
Michael Kerrisk 639c5cc8c3 CPU_SET.3: Add documentation of CPU_COUNT()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:52 -05:00
Michael Kerrisk ef5694bc07 pthread_attr_setaffinity_np.3: spfix 2008-11-25 20:53:52 -05:00
Michael Kerrisk bd5bb13000 pthread_attr_setaffinity_np.3, pthread_setaffinity_np.3: Remove redundant text relating to CPU sets
Information about CPU_SETSIZE can be found in CPU_SET.3, so
remove discussion of it here.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-25 20:53:46 -05:00
Michael Kerrisk 8e223af2e3 pthread_attr_setaffinity_np.3, pthread_setaffinity_np.3: Update to reflect new location of CPU_*() documentation
The CPU_*() macros are now documented in CPU_SET.3;
update to reflect that fact.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-13 08:56:56 -05:00
Michael Kerrisk 089de1d271 CPU_CLR.3, CPU_ISSET.3, CPU_ZERO.3: Update links to point to CPU_SET.3
The documentation of the CPU_* macros migrated to a new location:
CPU_SET.3.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-13 08:56:56 -05:00
Michael Kerrisk a9cdb1db67 CPU_SET.3: New page documenting CPU_* macros
This page contains material moved out of sched_setscheduler(2).
It overwrites a previously existing link file with the same name.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-13 08:56:56 -05:00
Masanari Iida ed27948551 syslog.3: LOG_KERN messages can't be generated from user processes
Masanari notes that this is an FAQ for logger(1) and that
Solaris and FreeBSD document this point in syslog(3).
The glibc info page also hides this comment in its source:

    Internally, there is also LOG_KERN, but LOG_KERN == 0,
    which means if you try to use it here, just selects default.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-13 08:56:50 -05:00
Michael Kerrisk 64c85cc4ca syslog.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-12 11:26:17 -05:00
Michael Kerrisk cc7ffe866d inet_ntop.3: Rework text describing 'size' argument
(After a suggestion by Vegard Nossum.)
Also made a few other small rewordings to in the initial
paragraph.

Reported-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-11 15:10:53 -05:00
Michael Kerrisk f961f9c1ab inet_ntop.3: Rename 'cnt' argument to 'size'
This is consistent with POSIX.1, and also a more sensible name.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-11 15:05:07 -05:00
Michael Kerrisk 940c8ce244 getdents.2, pthread_attr_init.3, pthread_create.3, pthread_getattr_np.3, pthread_setaffinity_np.3, pthread_setschedparam.3, pthread_tryjoin_np.3: Use consistent error-handling function names
Many older pages use a handle_error() macro to do simple
error handling from system and library function calls.
Switch these pages to do similar.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-11 14:51:13 -05:00