Commit Graph

8162 Commits

Author SHA1 Message Date
Michael Kerrisk 49b759abb0 tsearch.3: srcfix: Change to use .I and .B directives
.I and .B are generally preferred over \fI and \fB.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:27 +02:00
Michael Kerrisk 5577e31181 tsearch.3: NOTES: remove redundant discussion of unorthodox use of term " postorder"
This point is already covered at greater length in the main
text of the page (See the piece "More commonly, ...").

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:27 +02:00
Michael Kerrisk 8cbac64a2b tsearch.3: Some wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:27 +02:00
Michael Kerrisk 88c7644093 tsearch.3: Clarify use for first argument to the twalk() 'action' function
There's a number of details in POSIX that are omitted in
the current version of this page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:27 +02:00
Michael Kerrisk 1bb65947e8 regex.3: Correct SEE ALSO reference to glibc manual "regex" section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:27 +02:00
Bjarni Ingi Gislason 0a2d769764 mdoc.7: Fixing a warning and a table
Fis warning from "groff -ww ..." (or "man --warnings=w ..."):

    <groff: mdoc.7>:294: warning:
    tab character in unquoted macro argument

In one table the distance between columns is too small in the
"ps" output.  (Bug in the groff "doc.tmac" macro?)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:27 +02:00
Bjarni Ingi Gislason 15a1234317 mdoc.samples.7: Fix warnings from [ng]roff, corrections
From "man -ww ..." (groff -ww ...):

    <standard input>:541: warning:
    tab character in unquoted macro argument
    [+3 similar warnings]
    <standard input>:813: warning: macro `Pu' not defined
    Usage: .Rv -std in sections 2 and 3 only (#1669)
    mdoc warning: A .Bl directive has no matching .El (#1821)

String "Pu" defined as a row of punctuation characters.
".Bl" and ".El" fixed.
Some arguments, that start with a period or are the name of a
macro, protected with "\&".
Variable name for macro ".Rv" corrected.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:19 +02:00
Bjarni Ingi Gislason 3421b826df netlink.7: Line in table is too long
Fix warning from "man ..." ("nroff -ww ..."):

    nroff: netlink.7: warning: around line 195:
    table wider than line width

Horizontal line incorporated into table.
No right adjustment of text blocks in tables.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673875

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:26 +12:00
Bjarni Ingi Gislason 361ccbe1f3 rtnetlink.7: Line in table too long
Fix warning from "man ..." ("nroff -ww ..."):

    nroff: rtnetlink.7: warning: around line 415:
    table wider than line width

Column gutter reduced to fit line length.
Right adjustment in text blocks removed in tables.
Some header made centered in tables.
One table put on same page.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674051

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:26 +12:00
Michael Kerrisk 6fdbc7794f access.2, prctl.2, recv.2, send.2, euidaccess.3, mbstowcs.3, mcheck.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:26 +12:00
Akihiro MOTOKI 02ace852fb open.2, select.2, aio_cancel.3, aio_suspend.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:25 +12:00
Akihiro MOTOKI a59e64bef2 spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:25 +12:00
Jim Hill 40a1b471a4 pts.4, pty.7: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:25 +12:00
Michael Kerrisk 931cbe83c5 nsswitch.conf.5: srcfix: Remove excess .RE tag
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:25 +12:00
Michael Kerrisk 6fe07dbf26 get_nprocs_conf.3: srcfix: remove unneeded blank line before .TH
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:25 +12:00
Michael Kerrisk f66524636d msgctl.2, msgget.2, msgop.2, semctl.2, semget.2, semop.2, shmctl.2, shmget.2: NOTES: <sys/types.h> and <sys/ipc.h> aren't strictly needed
Add text to NOTES to say that the <sys/types.h> and <sys/ipc.h>
header files aren't required by Linux or the standards, but may
be needed for portability to old systems.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:25 +12:00
Michael Kerrisk 26a85bf20e svipc.7: SYNOPSIS: Remove include of <sys/types.h> and <sys/ipc.h>
Including <sys/types.h> and <sys/ipc.h> isn't needed on Linux
and isn't really relevant for the explanation on this page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:25 +12:00
Michael Kerrisk 548be2a60e msgctl.2, semctl.2, shmctl.2, svipc.7: Don't mention that ipc_perm is defined in <sys/ipc.h>
There's no need to mention that the 'ipc_perm' structure
is defined in <sys/ipc.h>. That's an implementation detail,
and furthermore <sys/ipc.h> is itself included by the other
System V IPC header files. The current text might lead the
reader to conclude that they must include <sys/ipc.h>, which
is not the case (it is required neither on Linux, nor by the
standards).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:25 +12:00
Bjarni Ingi Gislason 718588ebd2 netdevice.7: Line in table too long
Fix warning from "man ..." ("nroff -ww ..."):

    nroff: netdevice.7: warning: around line 98:
    table wider than line width

Fix: No right adjustment in text blocks in tables.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673873

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:25 +12:00
Bjarni Ingi Gislason 6d909d223c suffixes.7: srcfix: Fix warnings from "grotty"
man(1) on the present page yields errors:

    grotty: ... character above first line discarded

The culprit is "Dl 0 -xxxx" (vertical line) where "xxxx" is
one line (40 nroff units) too long.  Or there is a bug in
"grotty".  "nroff" or "tbl" makes an empty line where a page is.

The patch fixes the problem by setting the page length to
a large value.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673436

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:25 +12:00
Michael Kerrisk 96668cfdbb keyctl.2: srcfix: Added FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:25 +12:00
Michael Kerrisk 2c5f8c8c44 sem_close.3, sem_destroy.3, sem_getvalue.3, sem_init.3, sem_open.3, sem_post.3, sem_unlink.3, sem_wait.3, sem_overview.7: Note that "cc -pthread" is required; "-lrt" no longer works
See https://bugs.launchpad.net/ubuntu/+source/manpages/+bug/874418

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:11 +12:00
Michael Kerrisk 2ce315111d Start of man-pages-3.42: updating Changes and Changes.old 2012-05-11 08:21:44 +12:00
Michael Kerrisk 6da4f046e7 Start of man-pages-3.42: updating .Announce and .lsm files 2012-05-11 08:21:44 +12:00
Michael Kerrisk 3721074597 Start of man-pages-3.42: renaming .Announce and .lsm files 2012-05-11 08:21:44 +12:00
Michael Kerrisk 552ca8a9c1 Ready for 3.41 2012-05-11 08:13:14 +12:00
Michael Kerrisk 0ab8aeecc5 Removed trailing white space at end of lines 2012-05-11 08:13:04 +12:00
Michael Kerrisk dbd577f885 get_robust_list.2: tstamp fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-11 08:11:32 +12:00
Michael Kerrisk e5080839ee semop.2: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-11 08:10:50 +12:00
Michael Kerrisk eae2dfceab futimesat.2, mount.2, confstr.3, iconv.3, makedev.3, malloc.3, strcasecmp.3, strcat.3, strcmp.3, strcpy.3, strdup.3, strftime.3, strnlen.3, strpbrk.3, strspn.3, strtok.3, strxfrm.3, sk98lin.4, icmp.7, ipv6.7, packet.7, raw.7, rtnetlink.7, unix.7, x25.7, ldconfig.8, nscd.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-11 08:09:28 +12:00
David Prévot efa400c784 resolv.conf.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-11 06:27:47 +12:00
David Prévot 8d708d6bf6 proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-11 06:24:37 +12:00
Michael Kerrisk 69756363c8 Changes: Prepare changelog for 3.41
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 23:03:07 +12:00
David Prévot 01d8b73f92 poll.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 18:07:47 +12:00
Bjarni Ingi Gislason 6402e2db64 cp1251.7: table too wide
From "nroff -ww -t ...":

    warning: around line 44: table wider than line width

Columns are made narrower (column gutter decreased).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 11:57:03 +12:00
Bjarni Ingi Gislason 5e01552447 ascii.7: Indent for "troff" makes table too wide
Fix following from "groff -t -ww ...":

    warning: around line 53: table wider than line width

Extra indent for "troff" makes the table look misplaced
(default "ps" output).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 11:57:03 +12:00
Michael Kerrisk 22cb22c9f8 ascii.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 11:57:03 +12:00
Michael Kerrisk e1c5ebfa25 io_cancel.2, io_destroy.2, io_getevents.2, io_setup.2, io_submit.2: Rewrite to focus on system call API
Rewrite to focus on the system call interface, adding
some notes on the libaio wrapper differences.
See the following mail:
2012-05-07 "aio manuals", linux-man@vger.kernel.org
http://thread.gmane.org/gmane.linux.man/1935/focus=2910

Other minor rewrites.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 11:57:03 +12:00
Michael Kerrisk dd3ec6febb io_cancel.2, io_destroy.2, io_getevents.2, io_setup.2, io_submit.2: srcfix: remove old commented-out formatting directives
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 11:57:03 +12:00
Michael Kerrisk aea038d640 aio_cancel.3, aio_error.3, aio_fsync.3, aio_read.3, aio_return.3, aio_suspend.3, aio_write.3: ERRORS: Add/update ENOSYS error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 11:57:03 +12:00
Michael Kerrisk e19783f5dd aio_error.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 11:57:03 +12:00
Michael Kerrisk 9dacae96c2 lio_listio.3: Clarify that async notification occurs when *all* I/Os complete
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 11:57:03 +12:00
Michael Kerrisk 2da75a9e41 aio_cancel.3: Add pointers to aio(7) and sigevent(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 11:56:53 +12:00
Michael Kerrisk bc8e7b9537 aio_cancel.3: Clarify what happens when a request isn't successfully canceled
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 11:38:35 +12:00
Nick Piggin 1847167b8b open.2: Describe race of direct I/O and fork()
Rework 04cd7f64, which didn't capture the details correctly.
See the April/May 2012 linux-man@ mail thread "[PATCH]
Describe race of direct read and fork for unaligned buffers"
http://thread.gmane.org/gmane.linux.kernel.mm/77571

Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cowritten-by: Jan Kara <jack@suse.cz>
Cowritten-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-09 19:18:43 +12:00
David Prévot 99eccaa774 get_robust_list.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-09 17:18:07 +12:00
Michael Kerrisk ded312a306 getcpu.2: DESCRIPTION: reword a sentence to be clearer
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-09 17:18:07 +12:00
Michael Kerrisk 6ca014574b getcpu.2: Refer reader to NOTES for more info about 'tcache'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-09 17:18:07 +12:00
Mike Frysinger 178df36f74 getcpu.2: Add RETURN VALUE and ERRORS sections
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-09 17:11:37 +12:00
D. Barbier 5d2f567434 symlinkat.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-08 22:37:34 +12:00