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
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
882bbb69e4
For answer A2, change "not recommended" to "careful programming
...
may be required".
2008-05-21 14:33:28 +00:00
Michael Kerrisk
407252794e
Batch wfix/ffix
2008-04-18 15:52:17 +00:00
Michael Kerrisk
31981fa15b
Removed trailing white space at end of lines
2008-03-03 13:24:34 +00:00
Michael Kerrisk
54d02f32e9
Further reworking of Q5/A5.
2008-02-29 16:28:54 +00:00
Michael Kerrisk
d377b54d0a
Further work on Q6/A6, plus added some .\" comments for Q1/A1.
2008-02-29 16:08:02 +00:00
Michael Kerrisk
146c1764f0
tfix
2008-02-28 16:10:54 +00:00
Michael Kerrisk
3bc917f6ca
ffixes
2008-02-28 16:04:59 +00:00
Michael Kerrisk
cb1de8d77d
Futher refinement of Q9/A9.
2008-02-28 15:54:33 +00:00
Michael Kerrisk
160c5be13e
spfix
2008-02-28 14:40:15 +00:00
Michael Kerrisk
cc65f7d823
Chgange A3, to note that when events are available,
...
the epoll file descriptor will indicate as being readable.
2008-02-28 14:25:56 +00:00
Michael Kerrisk
f11af7daa2
Refine Q9/A9.
2008-02-28 13:49:29 +00:00
Michael Kerrisk
7fb5cf0fb6
Added Q0/A0, making explicit that the key for items in an epoll
...
set is [file descriptor, open file description]
2008-02-28 13:24:52 +00:00
Michael Kerrisk
cf3eb59854
wfix
2008-02-28 12:10:36 +00:00
Michael Kerrisk
28afd4f49a
ffix
2008-02-26 14:20:26 +00:00
Michael Kerrisk
93f17eadb1
Clarify Q9/A9 to discuss packet/token-oriented files.
2008-02-26 14:19:31 +00:00
Michael Kerrisk
958fe8069b
Remove COLOPHON text, which was added to the source by mistake.
2008-02-26 13:32:12 +00:00
Michael Kerrisk
7025a2fe92
tfix
2008-02-26 13:29:53 +00:00
Michael Kerrisk
2b22933411
Rework Q1/A1, describing what happens when adding the same
...
file descriptor twice to an epoll set, and when adding duplicate
file descriptors to the same epoll set.
2008-02-26 13:29:34 +00:00
Michael Kerrisk
f2e101d0ca
minor rewordings.
2008-02-26 12:44:38 +00:00
Michael Kerrisk
7647b3a10b
wfix
2008-02-26 12:35:07 +00:00
Michael Kerrisk
4fecd70377
Clarify error that occurs if we add an epoll fd to its own set.
2008-02-26 12:34:29 +00:00
Michael Kerrisk
a4a120c768
Clarify the somewhat unintuitive behavior that occurs if a file
...
descriptor in an epoll set is closed while other file descriptors
referring to the same underlying open file description remain open.
2008-02-26 12:33:27 +00:00
Michael Kerrisk
8382f16db1
grfix
2007-12-25 21:28:09 +00:00
Michael Kerrisk
04be424111
Minor rewording
2007-11-24 09:51:48 +00:00
Michael Kerrisk
6beb1671d2
tfix/wfix
2007-10-16 19:18:17 +00:00
Michael Kerrisk
0daa9e92d0
Fix redundant formatting macros
2007-09-20 16:26:31 +00:00
Michael Kerrisk
512a1783bc
spfix
2007-09-17 17:02:45 +00:00
Michael Kerrisk
097585edcb
ffix
2007-06-22 20:40:07 +00:00
Michael Kerrisk
988db66164
strip trailing white space
2007-06-21 22:55:04 +00:00
Michael Kerrisk
d494919067
space fixes
2007-06-20 20:52:14 +00:00
Michael Kerrisk
69eb01fd61
rewordings/edits
2007-06-16 05:58:39 +00:00
Michael Kerrisk
fc15f317eb
Language clean ups
2007-06-14 21:11:22 +00:00
Michael Kerrisk
75b94dc35c
Change "e.g. " to "e.g., ", or in some cases, "for example, ".
...
Change "i.e. " to i.e.., ", or in some cases, "that is, ".
2007-06-08 11:56:22 +00:00
Michael Kerrisk
d9bfdb9c21
Convert to American spelling conventions
2007-06-08 09:56:56 +00:00
Michael Kerrisk
fbe4cd56e1
Removed out-of-date FIXME.
2007-05-21 10:15:37 +00:00
Michael Kerrisk
2b2581ee37
Fix inconsistencies in order of .SH sections
2007-05-19 04:30:20 +00:00
Michael Kerrisk
05eabe6576
Fix inconsistencies in .TH line
2007-05-18 09:21:38 +00:00
Michael Kerrisk
3d5a3539b7
Fix inconsistencies in .TH lines
2007-05-18 09:11:21 +00:00
Michael Kerrisk
63f6a20a1a
Add section numbers to page xrefs
2007-05-11 23:29:44 +00:00
Michael Kerrisk
1c44bd5b0b
Wrap long lines; start sentences on new lines
2007-04-24 16:44:51 +00:00
Michael Kerrisk
c13182efa3
Wrapped long lines, wrapped at sentence boundaries; stripped trailing
...
white space.
2007-04-12 22:42:49 +00:00
Michael Kerrisk
cf0a9ace57
ffix
2007-04-05 12:36:57 +00:00
Michael Kerrisk
c803c3e382
Added CONFORMING TO section mentioning FreeBSD kqueue and Solaris /dev/poll.
2006-06-05 10:59:50 +00:00
Michael Kerrisk
3f1c1b0aa3
Spelling fixes.
2006-05-29 01:20:08 +00:00
Michael Kerrisk
1de2d7cdc9
ffix
2006-05-26 19:45:48 +00:00
Michael Kerrisk
7252da591c
ffix
2006-04-21 00:33:13 +00:00
Michael Kerrisk
6d86c355fd
Rename into section 7
2006-04-21 00:23:36 +00:00