Commit Graph

5260 Commits

Author SHA1 Message Date
Michael Kerrisk 8c80f3c6e1 pthread_equal.3: New page for pthread_equal(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:15 -05:00
Michael Kerrisk 8dffe2c455 pthread_self.3: New page for pthread_self(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:14 -05:00
Michael Kerrisk 2bb98c3f74 pthread_create.3: minor: three small fixes
Bert Wesarg <bert.wesarg@googlemail.com>
2008-10-29 14:54:14 -05:00
Michael Kerrisk 87d6864727 pthread_exit.3: wfix: s/value_ptr/retval/
Reported-by: Bert Wesarg <bert.wesarg@googlemail.com>
2008-10-29 14:54:14 -05:00
Michael Kerrisk c495ab1b69 pthread_exit.3: New page describing pthread_exit(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:14 -05:00
Michael Kerrisk 058cd95f5a pthread_create.3: New page describing pthread_create(3)
Let's start filling the big, longstanding gap for documentation
of Linux's implementation(s) of POSIX threads.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:14 -05:00
Michael Kerrisk ecae8a080a getpeername.2, getsockname.2: SEE ALSO: add ip(7) and unix(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:13 -05:00
Michael Kerrisk 0b8a445926 socket.7: SEE ALSO: add unix(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:13 -05:00
Michael Kerrisk e47fa14cd1 gethostbyname.3: Rationalize text on POSIX.1-2001 obsolete interfaces
POSIX.1 marks gethostbyname(), gethostbyaddr(), and 'h_errno'
as obsolete.  The man page explained this, but with some
duplication.  Remove the duplication, and otherwise tidy up
discussion of this point.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:13 -05:00
Michael Kerrisk 546f67f3cd ctime.3: ctime_r() and localtime_r() need not set 'timezone' and 'daylight'
The man page already noted that these functions need not set
'tzname', but things could be clearer: it tzset() is not called,
then the other two variables also are not set.

Also, clarify that ctime() does set 'timezone' and 'daylight'.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:13 -05:00
Michael Kerrisk e6068f213e strftime.3: srcfix: Added FIXME 2008-10-29 14:54:13 -05:00
Michael Kerrisk 44c95a090f stat.2, tsearch.3, tzset.3: wfix: s/SysV/System V/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:12 -05:00
Michael Kerrisk e70c986bd8 sched_yield.2: Add NOTES text on appropriate use of sched_yield()
Strategic calls to sched_yield() can be used to improve
performance, but unnecessary use should be avoided.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:12 -05:00
Michael Kerrisk 7559496c14 sched_yield.2: minor: relocate some text to NOTES
Relocate some text from DESCRIPTION to NOTES.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:12 -05:00
Michael Kerrisk 15eeae41d2 sched_yield.2: Rewrite description in terms of threads
The text formerly described the operation of sched_yield() in
terms of processes.  It should be in terms of threads.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:12 -05:00
Michael Kerrisk 24f0c87e42 raise.3: SEE ALSO: add pthread_kill(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:12 -05:00
Michael Kerrisk 7acf5ebe43 sigaction.2: Clarify that sa_mask affects the *per-thread* signal mask
The page didn't previously clearly explain the scope of the
signal mask that is affected by sa_mask.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:12 -05:00
Michael Kerrisk 67db0c8390 pthreads.7: tstamp 2008-10-29 14:54:11 -05:00
Michael Kerrisk 03d8058444 sigprocmask.2: tstamp 2008-10-29 14:54:11 -05:00
Michael Kerrisk 92ae39656e sigprocmask.2: Clarify that sigprocmask() operates on a per-thread mask
The first sentence of the page was vague on the scope of the
attribute changed by sigprocmask().  Reword to make this
clearer and add a sentence in NOTES to explicitly state that
the signal mask is a per-thread attribute.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:11 -05:00
Michael Kerrisk 63c22325ed pthreads.7: Describe return value from pthreads functions
Describe the usual success (0) and failure (non-zero) returns,
and note that POSIX.1-2001 specifies that pthreads functions
can never fail with the error EINTR.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:11 -05:00
Michael Kerrisk fa802e7b90 proc.5: Document /proc/sys/kernel/threads-max
Defines the system-wide limit on the number of threads (tasks).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:11 -05:00
Michael Kerrisk 4697f7a7ae signal.7: ffix 2008-10-29 14:54:10 -05:00
Michael Kerrisk 4f6d71a1fc signal.7: Timeouts make socket interfaces non-restartable
If setsockopt() is used to set a timeout on a socket(),
then the various socket interfaces are not automatically
restarted, even if SA_RESTART is specified when
establishing the signal handler.  Analogous behavior occurs
for the "stop signals" case.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Didier <did447@gmail.com>
2008-10-29 14:54:10 -05:00
Michael Kerrisk 132249c496 tty_ioctl.4: wfix: s/tty/terminal/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:10 -05:00
Michael Kerrisk bf70773447 tty_ioctl.4: wfix 2008-10-29 14:54:10 -05:00
Michael Kerrisk 922a35c0dc tty_ioctl.4: wfix: s/pty/pseudoterminal/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:10 -05:00
Michael Kerrisk b5fa38a31f tty_ioctl.4: Explain capability requirements for TIOCCONS
Explain capability requirements for TIOCCONS, and describe
changes in 2.6.10 relating to capabilities.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:10 -05:00
Michael Kerrisk c0b7505909 tty_ioctl.4: Explain capability requirements for various ioctls
For TIOCSLCKTRMIOS, TIOCSCTTY, TIOCEXCL, explain the exact
capability that is required (the text formerly just said "root"
in each case).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:09 -05:00
Michael Kerrisk 4961e71d7f tty_ioctl.4: ffix 2008-10-29 14:54:09 -05:00
Michael Kerrisk e5f53fe5ad console_ioctl.4: srcfix: updated FIXME 2008-10-29 14:54:09 -05:00
Michael Kerrisk 3dbca875de console_ioctl.4: srcfix: updated FIXME 2008-10-29 14:54:09 -05:00
Michael Kerrisk e0d8018d1d console_ioctl.4: srcfix: updated FIXME 2008-10-29 14:54:09 -05:00
Michael Kerrisk 915464d8d1 console_ioctl.4: srcfix: added FIXME 2008-10-29 14:54:09 -05:00
Michael Kerrisk 273f668082 getaddrinfo.3: srcfix: add FIXME 2008-10-29 14:54:04 -05:00
Michael Kerrisk a89813268d console_ioctl.4: ffix 2008-10-16 12:50:27 +02:00
Michael Kerrisk 1f174cb209 tty_ioctl.4: spfix 2008-10-16 12:15:38 +02:00
Michael Kerrisk 97004b99bf fopen.3: minor: Add pointer to glibc 'mode' extensions
Add a sentence in DESCRIPTION pointing reader to NOTES for
discussion of glibc extensions for 'mode'.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 08:08:50 +02:00
Michael Kerrisk 82b96f0198 fopen.3: srcfix: remove unneeded FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 08:01:20 +02:00
Michael Kerrisk 2f81a9f31c popen.3: Change one-line description in NAME
s%process I/O%pipe stream to or from a process%

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:57:36 +02:00
Michael Kerrisk 67cf694c64 popen.3: wfix: tweak just added text for 'e' flag
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:53:25 +02:00
Michael Kerrisk e18599c093 popen.3: Document 'e' (close-on-exec) flag
glibc 2.9 implements the 'e' flag in 'type', which sets the
close-on-exec flag on the underlying file descriptor.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:53:23 +02:00
Michael Kerrisk 28ddfa90ac popen.3: wfix: rework sentence describing 'type' argument
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:53:23 +02:00
Michael Kerrisk e008cdda60 fmemopen.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:53:22 +02:00
Michael Kerrisk 16ee3d5694 fmemopen.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:53:22 +02:00
Michael Kerrisk 363e70d263 fmemopen.3: Document binary mode (mode 'b')
Glibc 2.9 adds support to fmemopen() for binary mode opens.
Binary mode is specified by inclusion of the letter 'b' in
the 'mode' argument.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-12 07:52:59 +02:00
Michael Kerrisk 1ee674a478 socket.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 08:18:36 +02:00
Michael Kerrisk 0cc9687dad socketpair.2: Refer to socket(2) for SOCK_CLOEXEC and SOCK_NONBLOCK
Refer the reader to socket(2) for a description of the SOCK_CLOEXEC
and SOCK_NONBLOCK flags, which are supported by socketpair() since
Linux 2.6.27.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:43 +02:00
Michael Kerrisk af14d9f842 socket.2: Document SOCK_NONBLOCK and SOCK_CLOEXEC flags
These flags, specified in the 'type' argument, are supported
since Linux 2.6.27.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:43 +02:00
Michael Kerrisk 51d61866ba inotify_init.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:42 +02:00