Commit Graph

2066 Commits

Author SHA1 Message Date
Michael Kerrisk 58ebb7ec73 clock_gettime.2, clock_settime.2, clock_gettime.3, clock_settime.3: Update links to reflect the fact that clock_* pages are now in Section 2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:00 +13:00
Michael Kerrisk 8c7e5701a0 clock_getres.2: Update .TH line to reflect move to Section 2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:00 +13:00
Michael Kerrisk 9bdcdd5e27 clock_getres.2: Move page from Section 3 to Section 2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:00 +13:00
Michael Kerrisk cc22d4c064 clock_getres.2: Remove, in preparation for moving clock_*.3 pages to Section 2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:31:53 +13:00
Michael Kerrisk 804f03e657 clock_nanosleep.2, execve.2, fork.2, nanosleep.2, sigaction.2, timerfd_create.2, pthread_getcpuclockid.3, ualarm.3, usleep.3, pthreads.7, time.7: Global fix: s/(3)/(2)/ in section number xrefs for timer_*() API
The POSIX timers API is implemented (mostly) within the kernel,
so thse interfaces are system calls.  Although there are as yet
no man pages, when they are added they should be in Section 2,
not 3.  Therefore fix those pages that currently refer to these
interfaces as being in Section 3.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:29:10 +13:00
Michael Kerrisk 6f8303a95a timerfd_create.2: Add BUGS noting that timerfd supports fewer clock types than timer_create()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:29:04 +13:00
Mike Frysinger e1fbfba539 epoll_create.2: wfix: s/flags/size/
Reported-by: Christopher Head <chead@telus.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:29:03 +13:00
Michael Kerrisk d0e95dbcd1 shmop.2: srcfix: added FIXME 2009-02-03 23:08:05 +13:00
Michael Kerrisk 9fa3ad83b3 fork.2: SEE ALSO: add daemon(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-03 10:05:09 +13:00
Michael Kerrisk 66bbce0015 eventfd.2: glibc eventfd() supports the use of eventfd2() since version 2.9
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-27 06:05:56 +01:00
Andi Kleen 065c543677 capget.2: Add some details and relocate a paragraph
While writing a little program using capset
I found the capset manpage quite light on crucial
details and I had to resort to RTFS.

This patch improves the points I found unclear
and also moves one misplaced paragraph around.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-27 01:42:01 +01:00
Michael Kerrisk 7ce9ffda47 select_tut.2: Many parts tidied and rewritten
Remove some redundant text, clarify various pieces,
tidy example code, etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-27 01:20:55 +01:00
Michael Kerrisk b0cac4c7aa select_tut.2: Bug fixes + rewrites in example program
Sebastien pointed out that the first example program
wrongly thinks it can count signals.
Also, some further rewrites by mtk.

Reported-by: Sebastian Kienzl <seb@riot.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-27 01:20:37 +01:00
Michael Kerrisk 0e888d6adb select_tut.2: Clean up error checking in example program (no semantic changes)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-24 23:34:23 +01:00
Michael Kerrisk 6197b465ef getdents.2: Remove unneeded HAVE_D_TYPE from example program
Since d_type will always just return DT_UNKNOWN before
kernel 2.6.4, we don't need to use a conditional for
determining whether we use this flag.

Reported-by: Bastien ROUCARIES <roucaries.bastien@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-22 20:56:50 +01:00
Michael Kerrisk 14adeb6d28 stat.2: Note that open(O_NOATIME) also cause st_atime not to be updated
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-22 20:53:44 +01:00
Michael Kerrisk 56d2079da7 ioprio_set.2: srcfix 2009-01-20 15:14:57 +13:00
Michael Kerrisk 523c1b2c03 socket.2: BUGS: Remove discussion SOCK_UUCP
As time goes on, this sentence becomes less a piece of humor,
and more a puzzle.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-19 22:25:34 +13:00
Michael Kerrisk 762c2446e8 nanosleep.2: Relocated misplaced BUGS heading
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-19 22:15:09 +13:00
Michael Kerrisk f7d1749738 syscalls.2: Minor: update kernel version number in DESCRIPTION
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-19 17:49:38 +13:00
Michael Kerrisk 74ee79b977 Removed trailing white space at end of lines 2009-01-19 17:12:10 +13:00
Michael Kerrisk 52c385c592 getdents.2: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-01-18 14:48:06 +13:00
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