Commit Graph

115 Commits

Author SHA1 Message Date
Michael Kerrisk ffbe890768 div.3, mallopt.3, perror.3, epoll.7, ld.so.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-17 23:23:57 +12:00
Michael Kerrisk 2b348e568f epoll.7: Some minor clarifications at start of DESCRIPTION
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-15 09:39:52 +12:00
Michael Kerrisk 0b80cf56e3 Changes, clone.2, mount.2, nanosleep.2, sigaltstack.2, statfs.2, timer_settime.2, ctime.3, fmemopen.3, nl_langinfo.3, posix_memalign.3, pthread_attr_init.3, pthread_setaffinity_np.3, pthread_setschedprio.3, pthread_testcancel.3, setjmp.3, sigwait.3, tty_ioctl.4, epoll.7, posixoptions.7, unix.7: Add section number to references to functions documented in other pages
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 08:07:28 +01:00
Michael Kerrisk 008f1ecc43 intro.1, time.1, accept.2, bind.2, connect.2, execve.2, flock.2, getdents.2, getpriority.2, getuid.2, intro.2, ioctl.2, mincore.2, mknod.2, personality.2, ptrace.2, read.2, recv.2, select_tut.2, send.2, sendfile.2, shmctl.2, sigaction.2, signal.2, stat.2, times.2, truncate.2, umask.2, wait.2, MB_CUR_MAX.3, MB_LEN_MAX.3, argz_add.3, btowc.3, clearenv.3, clock.3, cmsg.3, end.3, endian.3, errno.3, exit.3, fgetwc.3, fgetws.3, fopen.3, fputwc.3, fputws.3, fseek.3, fwide.3, getfsent.3, getgrnam.3, gethostid.3, getipnodebyname.3, getmntent.3, getpwnam.3, getwchar.3, grantpt.3, iconv.3, iconv_close.3, iconv_open.3, insque.3, intro.3, iswalnum.3, iswalpha.3, iswblank.3, iswcntrl.3, iswctype.3, iswdigit.3, iswgraph.3, iswlower.3, iswprint.3, iswpunct.3, iswspace.3, iswupper.3, iswxdigit.3, malloc.3, mblen.3, mbrlen.3, mbrtowc.3, mbsinit.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, mkstemp.3, mktemp.3, nl_langinfo.3, openpty.3, posix_openpt.3, printf.3, ptsname.3, putwchar.3, qecvt.3, rcmd.3, readdir.3, rexec.3, rpc.3, setnetgrent.3, shm_open.3, sigpause.3, stdin.3, stpcpy.3, strftime.3, strptime.3, syslog.3, towctrans.3, towlower.3, towupper.3, ttyslot.3, ungetwc.3, unlocked_stdio.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wcscasecmp.3, wcscat.3, wcschr.3, wcscmp.3, wcscpy.3, wcscspn.3, wcsdup.3, wcslen.3, wcsncasecmp.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcspbrk.3, wcsrchr.3, wcsrtombs.3, wcsspn.3, wcsstr.3, wcstok.3, wcstombs.3, wcswidth.3, wctob.3, wctomb.3, wctrans.3, wctype.3, wcwidth.3, wmemchr.3, wmemcmp.3, wmemcpy.3, wmemmove.3, wmemset.3, wprintf.3, console_ioctl.4, pts.4, elf.5, filesystems.5, hosts.5, proc.5, ttytype.5, boot.7, capabilities.7, credentials.7, epoll.7, glob.7, koi8-r.7, path_resolution.7, pty.7, signal.7, suffixes.7, time.7, unicode.7, unix.7, uri.7, utf-8.7: global fix: s/Unix/UNIX/
The man pages were rather inconsistent in the use of "Unix"
versus "UNIX". Let's go with the trademark usage.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-12 06:49:17 +02:00
Michael Kerrisk 3b777affca close.2, epoll_create.2, epoll_ctl.2, fcntl.2, madvise.2, mmap.2, mremap.2, select_tut.2, setgid.2, setuid.2, syscalls.2, vmsplice.2, dlopen.3, fts.3, getpw.3, stdio.3, fd.4, initrd.4, random.4, sd.4, bootparam.7, capabilities.7, cpuset.7, epoll.7, inotify.7, man.7, socket.7, x25.7: Global fix: s/re-/re/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "re-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:45:23 +01:00
Michael Kerrisk ff40dbb354 accept.2, connect.2, eventfd.2, flock.2, open.2, posix_fadvise.2, read.2, recv.2, sched_setscheduler.2, select_tut.2, send.2, signalfd.2, splice.2, timerfd_create.2, write.2, flockfile.3, mkfifo.3, mq_notify.3, mq_open.3, pthread_tryjoin_np.3, scanf.3, random.4, ddp.7, epoll.7, fifo.7, ip.7, pipe.7, socket.7, spufs.7: Global fix: s/non-blocking/nonblocking/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 17:43:10 +01:00
Lucian Adrian Grijincu df5c8d495b epoll.7: tfix: fix unfinished string in example code
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-04-24 13:12:53 +12:00
Michael Kerrisk 540cc87fed epoll.7: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-21 06:55:14 +13:00
Michael Kerrisk f09cbcf3f0 Removed trailing white space at end of lines 2009-02-09 15:12:23 +13:00
Michael Kerrisk 597fa43c2c epoll.7: remove documentation of /proc/sys/fs/epoll/max_user_instances
This /proc interface appeared in 2.6.28. but will be
removed in 2.6.29.

Also, document change in default value of
/proc/sys/fs/epoll/max_user_watches (was 1/32 of lowmem,
now 1/25 of lowmem).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-02 02:00:10 +13:00
Michael Kerrisk a8d9df276b epoll.7: tfix
Reported-by: Vegard Nossum <vegard.nossum@gmail.com>
2009-01-23 23:51:53 +01:00
Michael Kerrisk 7547121f4f epoll.7: Various wording changes to improve clarity and consistency
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-18 14:20:36 +13:00
Michael Kerrisk 5ee0575d03 epoll.7: Document /proc interfaces for limiting kernel memory usage
Document the following /proc files that were added in
Linux 2.6.28:
/proc/sys/fs/epoll/max_user_instances
/proc/sys/fs/epoll/max_user_watches

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-16 21:40:50 +13: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
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
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
Renamed from man4/epoll.4 (Browse further)