Commit Graph

5795 Commits

Author SHA1 Message Date
Kir Kolyshkin baf17bc4f2 Trivial punctuation fixes in SEE ALSO
In SEE ALSO, when a few man pages are referenced, those are divided by commas.
Every reference is on a separate line, and all lines but the last one should
end with comma. I spotted one place where there is no comma in between
references, and mocked up an awk script to find similar places:

for f in man*/*; do awk '/^.SH ["]SEE ALSO["]/ {sa=1; print "== " FILENAME " =="; print; next } /^\.(PP|SH)/ {sa=0; no=0; next} /^\.BR/ { if (sa==1) { print; if (no == 1) print "Missing comma in " FILENAME " +" FNR-1; no=0 } } /^\.BR .*)$/ { if (sa==1) no=1; next } /\.\\"/ {next} /.*/ { if (sa==1) { print; next }}' $f; done | fgrep 'Missing comma'

This patch fixes all the places found by the above script.

Also, there is an extra dot at the end of uri.7 "SEE ALSO" section.
Removed as per man-pages(7) recommendation.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 19:52:29 +13:00
Michael Kerrisk d34ba634d1 timer_getoverrun.2, timer_settime.2: Add EXAMPLES section referring to example in timer_create(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 19:52:29 +13:00
Michael Kerrisk aa341984a9 proc.5: Put /proc/modules entry in correct alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 19:52:29 +13:00
Michael Kerrisk 5e7388aad4 proc.5: Add description of /proc/sys/kernel/sysrq
Reported by: Goerghe Cosorea <gheorghe.coserea@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 19:52:19 +13:00
Kir Kolyshkin e69aa6c897 ascii.7: Fix formatting of tables on second page to use monospaced font
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-11 08:18:08 +13:00
Michael Kerrisk 02539b88ba timer_create.2: Minor change to example
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-10 21:41:59 +13:00
Michael Kerrisk a31a4d2918 timer_create.2: Fix small bug in example
Reported-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-10 21:41:04 +13:00
Michael Kerrisk 826ed36b7e select_tut.2: minor: fix small bug in example code
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-10 19:26:37 +13:00
Michael Kerrisk 75362965dd syscalls.2: Note that getpmsg(2) and putmsg(2) are unimplemented
See See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514771

Reported-by: Sami Liedes <sliedes@cc.hut.fi>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-10 17:37:36 +13:00
Michael Kerrisk 1fa67ee429 Changes.old: spfix 2009-02-10 14:43:29 +13:00
Michael Kerrisk 8699ebd957 getitimer.2, clock_getcpuclockid.3, time.7: SEE ALSO: add timer_create(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-10 14:42:17 +13:00
Michael Kerrisk 527d64f841 timer_delete.2: New page documenting timer_delete(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-10 13:37:22 +13:00
Michael Kerrisk c6f51a127e timer_getoverrun.2: New page documenting timer_getoverrun(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-10 13:37:07 +13:00
Michael Kerrisk 167f7e62e1 timer_gettime.2: New link to new tiemr_settime.2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-10 13:36:47 +13:00
Michael Kerrisk d268951f33 timer_settime.2: New page documenting timer_settime(2) and timer_gettime(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-10 13:35:46 +13:00
Michael Kerrisk 944f8a69c0 timer_create.2: New page documenting timer_create(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-10 13:35:25 +13:00
Michael Kerrisk b8fb88249b getitimer.2: Rename arguments for consistency with other timer pages
Also some other minor wording improvements

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-10 12:37:42 +13:00
Michael Kerrisk d6a54d42ba timerfd_create.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-10 12:36:54 +13:00
Michael Kerrisk 2bbb390720 timerfd_create.2: ERRORS: add EFAULT
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-10 12:36:28 +13:00
Michael Kerrisk 5c9025973e timerfd_create.2: Rename timerfd_settime() 'curr_value' arg to 'old_value'
For consistency with related pages.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-10 12:35:13 +13:00
Michael Kerrisk 0dd8d7b4ae Changes.old: minor: remove crufty changelog entry
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 22:48:40 +13:00
Michael Kerrisk 0c094170df Start of man-pages-3.19: updating Changes and Changes.old 2009-02-09 21:24:52 +13:00
Michael Kerrisk c762c1c907 Start of man-pages-3.19: updating .Announce and .lsm files 2009-02-09 21:24:52 +13:00
Michael Kerrisk 49a3c262f4 Start of man-pages-3.19: renaming .Announce and .lsm files 2009-02-09 21:24:51 +13:00
Michael Kerrisk 0e9e61bce5 Ready for 3.18 2009-02-09 15:13:47 +13:00
Michael Kerrisk f09cbcf3f0 Removed trailing white space at end of lines 2009-02-09 15:12:23 +13:00
Michael Kerrisk 28fdeb9fe1 Expanded tabs 2009-02-09 15:12:12 +13:00
Michael Kerrisk 1814181f27 time.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 15:07:23 +13:00
Michael Kerrisk d96dea0ac8 sigwait.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 15:06:33 +13:00
Michael Kerrisk c1091bc94e scandir.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 15:06:32 +13:00
Michael Kerrisk 874f7568f3 timerfd_create.2: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 15:03:53 +13:00
Michael Kerrisk 9bd8dbd1af Changes: Update with contributors and changes for 3.18
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 15:00:42 +13:00
Michael Kerrisk 3e8d776c07 clock_getres.3, clock_gettime.3, clock_settime.3: srcfix: Add comment explaining why these link files exist
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:33:48 +13:00
Michael Kerrisk eb9bcd8678 eventfd.2: srcfix: Remove out-of-date FIXME 2009-02-09 12:32:01 +13:00
Michael Kerrisk 30106ecf3e standards.7: Update to note that latest POSIX/SUS was ratified in 2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:01 +13:00
Michael Kerrisk 68cec1349c feature_test_macros.7: srcfix: update FIXME 2009-02-09 12:32:01 +13:00
Michael Kerrisk 3da3747663 rand.3: srcfix: remove outdated FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:01 +13:00
Michael Kerrisk 8b98f282b6 sem_wait.3: SEE ALSO: add clock_getime(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:01 +13:00
Michael Kerrisk 0eb443910b clock_nanosleep.2, getrusage.2, timerfd_create.2, clock.3, clock_getcpuclockid.3, ftime.3, pthread_create.3, pthread_getcpuclockid.3, pthread_tryjoin_np.3, sem_wait.3, time.7: Global fix: Fix xrefs to clock_*.? pages 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 ac48bb8a29 clock_getres.3: Re-create as link to new location of clock_getres page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:32:00 +13:00
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
Michael Kerrisk 30b6304cfa time.7: SEE ALSO: add pthread_getcpuclockid(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:29:03 +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 e6ae68dd1f iso-8859-6.7, iso_8859_6.7: Fix file misnaming: s/9959/8859/
Reported-by: Lefteris Dimitroulakis <edimitro@tee.gr>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:29:02 +13:00
Michael Kerrisk f6d908ca5f pthread_getcpuclockid.3: SYNOPSIS: fix type of 'thread'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-09 12:29:02 +13:00