Commit Graph

2044 Commits

Author SHA1 Message Date
Michael Kerrisk 67b59ff59d mmap.2: srcfix: Removed FIXME 2009-01-18 14:20:36 +13:00
Michael Kerrisk 1c7a3214e9 epoll_create.2: Document EMFILE error
This error is encountered when the limit imposed by
/proc/sys/fs/epoll/max_user_instances is encountered.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-18 14:20:36 +13:00
Michael Kerrisk 00144560c3 epoll_ctl.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-18 14:20:35 +13:00
Michael Kerrisk ccadaba2f3 epoll_ctl.2: Document ENOSPC error (new in Linux 2.6.28)
This error results when the limit imposed by
/proc/sys/fs/epoll/max_user_watches is encountered.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-18 14:20:27 +13:00
Michael Kerrisk 7829230a3a epoll_ctl.2: Reordered parts of the text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-16 07:58:54 +13:00
Michael Kerrisk a58b33605d epoll_ctl.2: Introduce notion of epoll instance
Introduce notion of epoll instance as distinct from epoll file descriptor.
Plus other wording clean-ups.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-16 07:53:24 +13:00
Michael Kerrisk ae3faf4b62 epoll_wait.2: Minor restructuring of text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-16 07:43:02 +13:00
Michael Kerrisk 8483a88c94 epoll_wait.2: Introduce the notion of an epoll instance into text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-16 07:40:16 +13:00
Michael Kerrisk 700e0efd68 epoll_create.2: Clarify distinction between epoll instance and epoll file descriptor
Reword so that the notion of an epoll instance is made clear,
and made distinct from the notion of an epoll file descriptor.
Some other minor rewordings also.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-16 07:31:16 +13:00
Michael Kerrisk 689cdcf175 accept.2: srcfix: Remove outdated FIXME 2009-01-16 07:14:57 +13:00
Michael Kerrisk f159e8b531 gethostid.2: Rename file (was misnamed gethostd.2 in previous release)
Reported-by: Martin (Joey) Schulze <joey@infodrom.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-15 06:00:50 +13:00
Michael Kerrisk e174ff0a66 getsockname.2: SEE ALSO: Add getifaddrs(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-14 16:38:14 +13:00
Michael Kerrisk bbc0dbf06f bind.2: SEE ALSO: Add getifaddrs(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-14 16:38:02 +13:00
Michael Kerrisk 47f442b232 wait.2: Added FIXME 2009-01-14 10:41:54 +13:00
Michael Kerrisk 98895092a0 signalfd.2: Fix description of fork() semantics
The page text described the semantics of the initial
implementation of signalfd().  These were changed early on,
but the man page wasn't updated.

Reported-by: Vegard Nossum <vegard.nossum@gmail.com>
Reviewed-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-14 10:41:53 +13:00
Michael Kerrisk 59190704db signalfd.2: ffix 2009-01-14 10:41:53 +13:00
Michael Kerrisk 8f998fb470 getdents.2: Before kernel < 2.6.4, 'd_type' was effectively always DT_UNKNOWN
Reported-by: Bastien ROUCARIES <roucaries.bastien@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-14 10:41:52 +13:00
Michael Kerrisk ade8a1f9f6 getdents.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-14 10:41:44 +13:00
Michael Kerrisk de9ed3a3ab syscalls.2, feature_test_macros.7, standards.7: SEE ALSO: add libc(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-13 08:37:49 +13:00
Michael Kerrisk 8a2d6d4bd3 gethostid.2: New link to new page location in Section 3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-13 07:03:45 +13:00
Michael Kerrisk 2d1806c94d sethostid.2: Change link to point to new page location in Section 3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-13 07:02:55 +13:00
Michael Kerrisk 1f4f66a924 gethostid.2: Move to Section 3
The interfaces documented in this page are purely glibc.

Reported-by: Colin Watson <cjwatson@ubuntu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-13 07:00:44 +13:00
Michael Kerrisk 53e819d017 syscalls.2: Kerenl 2.6.28 adds accept4()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-06 12:32:56 -05:00
Michael Kerrisk 8ccde1f0a5 Removed trailing white space at end of lines 2008-12-05 22:53:52 -05:00
Michael Kerrisk d308da3058 pread.2: tfix 2008-12-05 22:47:26 -05:00
Michael Kerrisk 6eb334b2cf bind.2, rcmd.3, capabilities.7, ip.7: Global fix: s/reserved port/privileged port/
Some pages used one term, some pages the other term;
make some consistency.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:26 -05:00
Michael Kerrisk dcaec854fe syslog.2: Minor rewording
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:25 -05:00
Michael Kerrisk 03d5ef0d71 signal.2: grfix 2008-12-05 22:47:24 -05:00
Michael Kerrisk a3680fde95 setfsgid.2, setfsuid.2: Simplify version information and move to a VERSIONS section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:24 -05:00
Michael Kerrisk 8b98e6fc31 select.2: Rewrote text describing feature test macro requirements for pselect()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:24 -05:00
Michael Kerrisk 21c39e5919 select_tut.2: Fix SHUT_FD* macros in example program
Add "do {} while (0)"

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:24 -05:00
Michael Kerrisk 54781a2395 select_tut.2: wsfix in example program 2008-12-05 22:47:24 -05:00
Michael Kerrisk 5af0d2f5d3 pread.2: Minor rewording
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:23 -05:00
Michael Kerrisk d95f2e31bd mq_getsetattr.2: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:23 -05:00
Michael Kerrisk 12bbec1b16 getsid.2: Simplified version information and moved to a new VERSIONS section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:23 -05:00
Michael Kerrisk 5e4dc2691b open.2, stat.2: tfix s/_FILE_OFF_SET_BITS/_FILE_OFFSET_BITS/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Chris Heath <chris@heathens.co.nz>
2008-12-05 22:47:18 -05:00
Michael Kerrisk 9dcc46058a stat.2: Document EOVERFLOW error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Andre Majorel <aym-xunil@teaser.fr>
2008-12-05 22:47:18 -05:00
Michael Kerrisk 7c7fb55221 open.2: EFBIG error is now EOVERFLOW (since Linux 2.6.24)
When a 32-bit app opens a file whose size is too big to be
represented in 31-bits, POSIX.1 specifies the error EOVERFLOW.
Linux used to give EFBIG for this case, but 2.6.24 fixed this.

Also, add some text to describe the error scenario in
more detail.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:18 -05:00
Michael Kerrisk fecaa19a28 accept.2: Reorder ERRORS list
Some errors were listed under a separate "may" heading.
There's probably no real need to do this; integrate
those errors into the main list.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:47:17 -05:00
Michael Kerrisk 9baab2ae47 accept4.2: New link to accept.2
accept.2 now documents the new accept4() system call.
2008-12-05 22:47:17 -05:00
Michael Kerrisk 6f74cfbb4b accept.2: Document accept4() system call, new in Linux 2.6.28 2008-12-05 22:47:17 -05:00
Michael Kerrisk cc883662a3 uname.2: DESCRIPTION: Point reader at NOTES for further info on field lengths
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Reported-by: Rob Landley <rob@landley.net>
2008-12-05 22:29:01 -05:00
Michael Kerrisk 3e4088f4a4 getpeername.2, getsockname.2, getsockopt.2, recv.2, send.2, shutdown.2: minor s/s/sockfd/ for cases not caught in previous changes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:59 -05:00
Michael Kerrisk 75c5960113 shutdown.2: wfix 2008-12-05 22:28:59 -05:00
Michael Kerrisk 710631e8bf setup.2: Relocate some CONFORMING TO text to VERSIONS and NOTES
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:59 -05:00
Michael Kerrisk 97fce6cd66 setsid.2: Rework RETURN VALUE section; add an ERRORS section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:59 -05:00
Michael Kerrisk b56905c62b send.2: wfix (s/s/sockfd/ for a case missed earlier) 2008-12-05 22:28:59 -05:00
Michael Kerrisk 167441ee0b send.2: Minor layout fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:59 -05:00
Michael Kerrisk 6926dbf541 recv.2, send.2: Make names of "address" and "address length" args more consistent
Make the names of these arguments more consistent with other
sockets man pages.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:58 -05:00
Michael Kerrisk a2b8b6d657 connect.2, getpeername.2, getsockname.2: Use consistent argument names
Most other sockets pages are using the names 'addr'
and 'addrlen'; make these pages do the same.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-12-05 22:28:58 -05:00