Michael Kerrisk
1e68d71623
cpuset.7: SEE ALSO: add CPU_SET(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-13 08:56:56 -05:00
Michael Kerrisk
d1d8780179
epoll.7: Note glibc version that added epoll support
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-11 21:22:58 -05:00
Vegard Nossum
6304255391
netlink.7: Fix incorrect variable names in example code
...
s/snl/sa/ * 2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-11 14:54:06 -05:00
Michael Kerrisk
48011c24d7
netlink.7: wsfix
2008-11-11 14:54:06 -05:00
Michael Kerrisk
bfc40b3d71
pthreads.7: SEE ALSO: add pthread_attr_init() and pthread_cancel()
2008-11-11 14:54:06 -05:00
Michael Kerrisk
ac7bef3d3d
pthreads.7: tstamp
2008-11-11 14:54:06 -05:00
Michael Kerrisk
447cd9e76e
pthreads.7: Rework, and fix small error in, thread-safe function list
...
Integrate the changes that occurred in POSIX.1-2008 into the
main list (to be consistent with the list, elsewhere on this
page, of functions that are cancellation points).
Also, fix an error that said that strerror() was added to
the list in POSIX.1-2008. It was strsignal() that was
added. (strerror() was already in the list in POSIX.1-2001.)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-11 14:53:10 -05:00
Michael Kerrisk
7fd4e74c1c
pthreads.7: Tweak text on sigpause() cancellation point
...
In POSIX.1-2009, this function moves from the "must be"
to the "may be" list.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-11 14:51:04 -05:00
Michael Kerrisk
ffe8c4ae77
pthreads.7: Add section on cancellation points
...
This section includes a list of the functions that must and
may be cancellation points.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-10 12:00:51 -05:00
Michael Kerrisk
ecdd9a10bb
pthreads.7: spfix
2008-11-06 16:49:25 -05:00
Michael Kerrisk
84ee6c22e3
pthreads.7: Add a section describing thread IDs
...
In particular, note that in each pthreads function that takes
a thread ID argument, that ID by definition refers to a thread
in the same process as the caller.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-06 16:49:13 -05:00
Michael Kerrisk
40c75945ad
epoll.7: Add error handling for epoll_wait() call in example code
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-04 10:59:13 -05:00
Michael Kerrisk
15277745c3
epoll.7: Fix error handling after accept() in example code
...
Simply continuing after an error is in most cases wrong,
and can lead to infinite loops (e.g., for EMFILE).
So handle an error by terminating.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504202
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Olaf van der Spek <olafvdspek@gmail.com>
2008-11-04 10:58:58 -05:00
Michael Kerrisk
66132b5e47
epoll.7: Improve example code
...
Fill in some gaps in example code (variable declarations,
adding listening socket to epoll set).
Give variables more meaningful names.
Other minor changes.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504202
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Olaf van der Spek <OlafvdSpek@gmail.com>
2008-11-01 14:30:05 -05:00
Lefteris Dimitroulakis
289bb92874
iso_8859-7.7: Add characters for Drachma and Greek Ypogegrammeni
...
Lines for these two characters were added in the previous patch,
but the actual characters were not included in the 4th column
of the table. This fixes that.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-30 11:08:19 -05:00
Michael Kerrisk
c5571b613b
Removed trailing white space at end of lines
2008-10-29 15:43:44 -05:00
Michael Kerrisk
08c9b488f4
timerfd_create.2, ctime.3, frexp.3, strftime.3, strtok.3, tty_ioctl.4, iso_8859-7.7: tstamp
2008-10-29 15:36:12 -05:00
Lefteris Dimitroulakis
ebc15016f1
iso_8859-7.7: Add Drachma, Euro, and Greek Ypogegrammeni
...
Also, amend description of characters 0241 and 0242.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:25 -05:00
Michael Kerrisk
6dd5c68a3d
ip.7: Detail EINVAL error for IP_ADD_MEMBERSHIP socket option
...
In response to:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=216092
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Christian Grigis <glove@earthling.net>
2008-10-29 14:54:25 -05:00
Michael Kerrisk
b43a3b301e
eventfd.2, execve.2, getdents.2, ioprio_set.2, mprotect.2, signalfd.2, timerfd_create.2, wait.2, backtrace.3, clock_getcpuclockid.3, end.3, fmemopen.3, fopencookie.3, frexp.3, getdate.3, getgrouplist.3, getprotoent_r.3, getservent_r.3, gnu_get_libc_version.3, inet.3, inet_pton.3, makecontext.3, malloc.3, matherr.3, offsetof.3, pthread_attr_init.3, pthread_create.3, pthread_getattr_np.3, sem_wait.3, strftime.3, strtok.3, strtol.3, core.5, proc.5, cpuset.7, mq_overview.7: Global fix: Format user input in shell sessions in boldface
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:23 -05:00
Michael Kerrisk
7e1d89c9b2
man-pages.7: spfix
2008-10-29 14:54:23 -05:00
Michael Kerrisk
b8463199bb
man-pages.7: Example shell sessions should have user input boldfaced
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-29 14:54:23 -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
67db0c8390
pthreads.7: tstamp
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
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
9d0f3fcb0d
epoll.7: Mention epoll_create1() as part of epoll API
...
epoll_create1() was added in Linux 2.6.27, and extends the
functionality of epoll_create().
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:40 +02:00
Michael Kerrisk
43bb5fafb5
inotify.7: Mention inotify_init1() in overview of API
...
Discuss the new inotify_init1() system call in the overview of
the inotify API.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-11 07:49:38 +02:00
Michael Kerrisk
2411effea2
signal.7: improve description in NAME section
...
Reported-by: Gergely Soos <sogerc1@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-06 10:12:00 +02:00
Michael Kerrisk
eeccef1df0
signal.7: Add mention of sigaltstack(2).
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-05 07:46:09 +02:00
Michael Kerrisk
e66d51d1ba
signal.7: Describe syscalls that synchronously wait for a signal,
...
(sigwait(), sigwaitinfo(), sigtimedwait(), signalfd)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-05 07:41:29 +02:00
Michael Kerrisk
22fe4981c2
signal.7: Give overview of syscalls that block until a signal is caught
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-05 07:30:24 +02:00
Michael Kerrisk
4704a09b80
signal.7: ffix
2008-10-05 07:29:00 +02:00
Michael Kerrisk
7a414038ea
signal.7: Add overview of interfaces for sending signals.
...
(kill(), killpg(), tgkill(), sigqueue(), raise(), etc.)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-05 07:23:58 +02:00
Michael Kerrisk
d5c8829874
signal.7: describe semantics w.r.t. fork() and execve()
...
Include text describing semantics of fork() and execve() for
signal dispositions, signal mask, and pending signal set.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-04 08:33:53 +02:00
Nicolas François
44e5793157
Typo and wording fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-09-29 11:00:36 +02:00
Michael Kerrisk
12e86dbff5
mq_overview.7: add mq_notify() to list of lib. functions and syscalls in MQ API
2008-09-29 06:05:04 +02:00
Michael Kerrisk
d0cb7cc649
grfix: s/null terminated string/null-terminated string/
2008-09-26 07:13:25 +02:00
Michael Kerrisk
ade562fbcc
grfix
2008-09-10 03:40:20 +00:00
Michael Kerrisk
99d8a684b3
start new sentence on new source line
2008-09-10 03:33:15 +00:00
Michael Kerrisk
1614be9f1f
Update FIXME.
2008-09-09 10:48:13 +00:00
Michael Kerrisk
5b0dc1baed
s/time zone/timezone/ for consistency across pages and with POSIX.1.
2008-09-07 04:17:25 +00:00
Michael Kerrisk
b1587ca86e
Since glibc 2.8, _GNU_SOURCE must be defined in order to get
...
the definition of the ucred structure from <sys/socket.h>.
2008-09-01 14:57:49 +00:00
Michael Kerrisk
6f0ab035e6
Explain bug that occurred in coalescing identical events in
...
kernels before 2.6.25.
(See commit 1c17d18e3775485bf1e0ce79575eb637a94494a2
"A potential bug in inotify_user.c" in the 2.6.25 Changelog.)
2008-08-27 04:21:29 +00:00
Michael Kerrisk
3424352d58
SEE ALSO: add proc(5).
2008-08-24 05:46:38 +00:00
Michael Kerrisk
a126897a7a
Remove FIXME
2008-08-21 08:53:45 +00:00
Michael Kerrisk
82245f7a31
spfix
2008-08-21 07:18:36 +00:00
Michael Kerrisk
1cf8945c76
spfix
2008-08-21 07:00:07 +00:00
Michael Kerrisk
8fb853ba83
Update thread-safe functions list with changes in POSIX.1-2008.
2008-08-21 06:44:26 +00:00