Commit Graph

7493 Commits

Author SHA1 Message Date
Michael Kerrisk 71d9e7ae77 gets.3, mbtowc.3, printf.3, puts.3, scanf.3, stpcpy.3, stpncpy.3, strcat.3, strlen.3, strnlen.3, strsep.3, strstr.3, strxfrm.3, utmp.5: Global fix: consistent use of "null byte"
Bring more consistency to the discussion of
"[terminating] null byte"
by writing (at least in the initial use in a page)
"[terminating] null byte ('\0')".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 06:20:52 +02:00
Michael Kerrisk e9c23bc636 fgetws.3, fputws.3, mbrtowc.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wcscat.3, wcscpy.3, wcslen.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcsrtombs.3, wcsstr.3, wcstok.3, wcstombs.3, wcwidth.3: Global fix: consistent use of "null wide character"
Bring more consistency to the discussion of
"[terminating] null wide character"
by writing (at least in the initial use in a page)
"[terminating] null wide character (L'\0')".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 06:20:52 +02:00
Michael Kerrisk 24511dc14f wcslen.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 05:29:45 +02:00
Michael Kerrisk 1dcfd0de17 wcrtomb.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 05:26:32 +02:00
Michael Kerrisk 635793f3f3 bzero.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 05:12:10 +02:00
Michael Kerrisk cebca1bd40 flock.2, recv.2, btree.3, dbopen.3, des_crypt.3, fts.3, mpool.3, recno.3: Global fix: use ORing
Use "ORing", not "OR'ing", nor an italic ".IR OR ing".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 05:06:37 +02:00
Michael Kerrisk 435b60754a capget.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 05:05:10 +02:00
Michael Kerrisk 836830b4c9 readlink.2, getsubopt.3, termcap.5, tzfile.5, unix.7: srcfix: change single quote to "\(aq"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 04:56:17 +02:00
Michael Kerrisk 4e83614439 clock_getres.2, clone.2, mbind.2, set_mempolicy.2, atan2.3, getipnodebyname.3, ilogb.3, lgamma.3, elf.5, capabilities.7, math_error.7: srcfix: Remove double space
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-27 05:17:10 +02:00
Michael Kerrisk 371b557b97 ldexp.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-27 05:16:25 +02:00
Michael Kerrisk aa198ef96f stpncpy.3: Change "terminating null" to "terminating null byte"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-27 05:12:41 +02:00
Michael Kerrisk c47df0d3b2 regex.3: Change "terminating null" to "terminating null byte"
Reported-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-27 05:09:31 +02:00
Michael Kerrisk 1c1a8c025c getline.3: tfix
Rep[orted-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-27 05:07:24 +02:00
Denis Barbier 0cf28c348c hsearch.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-26 19:31:55 +02:00
Guillem Jover 25675bff81 lseek.2: CONFORMING TO: Note other systems that have SEEK_HOLE+SEEK_DATA
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-25 07:09:58 +02:00
Michael Kerrisk f497e4567d readlink.2: Minor fixes (copyright, example program)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-25 06:54:33 +02:00
David Prévot 4ada4f45a4 lseek.2: wfix
Signed-off-by: David Prévot <taffit@debian.org>
2011-09-24 07:54:34 +02:00
Michael Kerrisk 61f69ce66d Changes.old: Minor fixes to 3.34 changelog
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 09:28:33 +02:00
Michael Kerrisk fc60dabeff Start of man-pages-3.35: updating Changes and Changes.old 2011-09-23 08:13:05 +02:00
Michael Kerrisk 3225e4b9fa Start of man-pages-3.35: updating .Announce and .lsm files 2011-09-23 08:13:05 +02:00
Michael Kerrisk 3450e0f38d Start of man-pages-3.35: renaming .Announce and .lsm files 2011-09-23 08:13:05 +02:00
Michael Kerrisk e3c88e4266 Ready for 3.34 2011-09-23 08:01:26 +02:00
Michael Kerrisk 1976f57a63 Removed trailing white space at end of lines 2011-09-23 08:01:18 +02:00
Michael Kerrisk a032492ea9 pthread_sigqueue.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:40:55 +02:00
Michael Kerrisk 89b7c08ef1 Changes: Ready for 3.34 release
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:39:26 +02:00
Michael Kerrisk 776b81f6cb ip.7: Mnor fixes
Reported-by: Benjamin Poirier <benjamin.poirier@gmail.com>
Reported-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:25:34 +02:00
Michael Kerrisk fe48639fc3 set_mempolicy.2, getcwd.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:17:13 +02:00
Michael Kerrisk 5238ea2cfc getaddrinfo_a.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:15:41 +02:00
David Prévot 8c3fb60451 madvise.2: ffix
Signed-off-by: David Prévot <taffit@debian.org>
2011-09-23 07:13:09 +02:00
Michael Kerrisk b18e759d8c fstatat.2, rt_sigqueueinfo.2, sendfile.2, hsearch.3, matherr.3, rtld-audit.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:11:27 +02:00
David Prévot 62fc472fa8 posix_fadvise.2: ffix
Signed-off-by: David Prévot <taffit@debian.org>
2011-09-23 07:07:58 +02:00
David Prévot fb30b09644 lseek.2, inet_pton.3, tzfile.5: tfix
Please find attach a consistency fix: there were only five
"zeroes" but twenty four "zeros" in those manual pages.
(Make all instances "zeros".)

Signed-off-by: David Prévot <taffit@debian.org>
2011-09-23 07:02:06 +02:00
Michael Kerrisk f7cac3c341 sigqueue.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 16:35:41 +02:00
Michael Kerrisk 38be53abdf wctob.3: Remove crufty text left by last commit
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 09:44:01 +02:00
Michael Kerrisk da8a154e7e btowc.3, wctob.3: Add pointers to better, thread-safe alternative functions
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606899

btowc(3) says:

    This function should never be used.  It does not work for
    encodings which have state, and unnecessarily treats single
    bytes differently from multibyte sequences.  Use the
    function mbtowc() instead.

but mbtowc(3) says:

    The function mbrtowc(3) provides a better interface to the
    same functionality.

Obviously, btowc(3) should not suggest a non-optimal interface; it
should instead suggest mbrtowc.  This is also true for the pair
wctob(3) and wctomb(3).

Reported-by: Brian M. Carlson <sandals@crustytoothpaste.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 06:38:49 +02:00
Benjamin Poirier 8341e3a766 ip.7: Improve description of IP_MTU_DISCOVER
I noticed what appears to be a discrepancy between the ip(7)
man page and the kernel code with regards to the IP DF flag
for UDP sockets.

The man page says that "The don't-fragment flag is set on all
outgoing datagrams" and that the ip_no_pmtu_disc sysctl affects
only SOCK_STREAM sockets. This is quickly disproved by doing:

    echo 1 > /proc/sys/net/ipv4/ip_no_pmtu_disc

firing up netcat and looking at a few outgoing UDP packets in
wireshark (they don't have the DF flag set).

1) in the words of `man 7 ip`:
IP_MTU_DISCOVER (since Linux 2.2)
     Set or receive the Path MTU Discovery  setting  for  a  socket.
     When  enabled, Linux will perform Path MTU Discovery as defined
     in RFC 1191 on this socket.  The don't-fragment flag is set  on
     all  outgoing datagrams.  The system-wide default is controlled
     by the /proc/sys/net/ipv4/ip_no_pmtu_disc file for  SOCK_STREAM
     sockets, and disabled on all others.

2) in net/ipv4/af_inet.c:inet_create():
       if (ipv4_config.no_pmtu_disc)
               inet->pmtudisc = IP_PMTUDISC_DONT;
       else
               inet->pmtudisc = IP_PMTUDISC_WANT;

and pmtudisc is left alone from there on for UDP sockets.

Reviewed-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 06:08:30 +02:00
Michael Kerrisk 4023450d6c ipv6.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:58:54 +02:00
Michael Kerrisk 9458d0daac ip.7: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:42:02 +02:00
Michael Kerrisk 9b89239778 hpsa.4: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:50 +02:00
Michael Kerrisk 32627bf742 hpsa.4: Copyedits my mtk
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:50 +02:00
Michael Kerrisk 302d12b719 hpsa.4: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:50 +02:00
Michael Kerrisk f8f39c1ea7 hpsa.4: Added copyright + license notice
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:50 +02:00
Michael Kerrisk 53203d57ce hpsa.4: Add date to .TH line
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:50 +02:00
Michael Kerrisk b6c0e2d4eb hpsa.4: Clarify example shell commands
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:49 +02:00
Michael Kerrisk 2df381008f hpsa.4: Minor: hide AUTHOR section
AUTHOR sections are not used in man-pages.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:49 +02:00
Michael Kerrisk b3acff5593 hpsa.4: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:49 +02:00
Stephen M. Cameron b9d931bb0b hpsa.4: New man page for the hpsa driver
I obtained the information in this man page as a consequence
of being the main author of the hpsa driver

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:49 +02:00
Michael Kerrisk 4fa0ef7e81 cciss.4: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:49 +02:00
Stephen Cameron c98253f801 cciss.4: FIXMEs resolved
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:20:49 +02:00
Michael Kerrisk 536fabdfa1 cciss.4: Copyedit by mtk
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 05:02:33 +02:00