Commit Graph

5905 Commits

Author SHA1 Message Date
Alan Curry 6f5b5631a4 console_ioctl.4: Fix 'argp' type for KDGETLED description
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517485

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:20 +13:00
Michael Kerrisk 4fa50d7281 ip.7: Fix type used to declare sin6_port
The page should use the type specified by POSIX,
rather than the (equivalent) type used in the kernel

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:20 +13:00
Teddy Hogeborn 191702eaad ipv6.7: Fix types used to declare sin6_family and sin6_port
The page should use the types specified by POSIX,
rather than the (equivalent) types used in the kernel.

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

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:19 +13:00
Michael Kerrisk 7a5097a15c truncate.2: srcfix: spfix 2009-03-08 13:35:19 +13:00
Michael Kerrisk 3ca7341fc9 truncate.2: SYNOPSIS: Fix description of feature test macro requirements
After a report by Arvid Norlander.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:18 +13:00
Michael Kerrisk 6652fffac3 timeradd.3: Note that on some systems, <=, >=, == don't work for timercmp()
Reported-by: Martin Gebert <martin.gebert@alpha-bit.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:18 +13:00
Michael Kerrisk f6c92d2a5e timeradd.3: SYNOPSIS: Fix return types of timerisset() and timercmp()
Reported-by: Martin Gebert <martin.gebert@alpha-bit.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:17 +13:00
Michael Kerrisk bd8384888b shm_open.3, mq_overview.7: Recast discussion on name length to exclude terminating NULL byte
Probably it's clearer to describe the length of the IPC object
name as a count that excludes the null terminator.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:34:49 +13:00
Michael Kerrisk 13e0f2a9d3 sem_overview.7: Fix discussion of length of semaphore names
Because of the "sem." prefix added by glibc to a semaphore
name, the limit on the length of the name (excluding the
terminating null byte) is 251 characters.

Reported-by: Jens Thoms Toerring <jt@toerring.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-25 12:45:34 +13:00
Michael Kerrisk 590d0346d9 strftime.3: Add details on ISO 8601 week-based dates
ISO 8602 week-based dates are relevant for %G, %g, and %V,
and the existing details on these dates are a little thin.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-24 16:05:49 +13:00
Michael Kerrisk 894765f0e5 strftime.3: Remove mention of year from ISO 8601 standard
The text mentioned the 1988 8601 standard, but there have
already been two revisions of the standard since then, so
simply remove mention of the year.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-24 14:02:37 +13:00
Michael Kerrisk 3d78d77891 strftime.3: Small fix to description of %G
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516677

Reported-by: Reuben Thomas <rrt@femur.dyndns.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-24 14:02:36 +13:00
Michael Kerrisk 702cbe158e timer_create.2, timer_delete.2, timer_getoverrun.2, timer_settime.2, numa.7: Make source layout of 'Link with' text consistent with other pages
No actual change to formatted output, but this makes the
page sources more consistent for the purpose of grepping, etc.

Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-24 07:50:06 +13:00
Michael Kerrisk 4ed3353db2 get_mempolicy.2, mbind.2, set_mempolicy.2: grfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-24 07:49:59 +13:00
Michael Kerrisk 86426e0be4 accept.2, read.2, recv.2, send.2, write.2: Fix discussion of EAGAIN/EWOULDBLOCK errors
For a non-blocking socket, POSIX.1-2001/2008 allow either
EAGAIN or EWOULDBLOCK to be returned in cases where a call
would have blocked.  Although these constants are defined
with the same value on most Linux architectures (PA-RISC
is the exception), POSIX.1 does not require them to have
the same value.  Therefore, a portable application using
the sockets API should test for both errors when checking
this case.

(NB POSIX.1 only mentions EWOULDBLOCK in the context of
the sockets interfaces.)

Change made after a note cross-posted on linux-arch@vger,
http://thread.gmane.org/gmane.linux.debian.ports.hppa/5615
and a suggestion for write(2) from Carlos O'Donell

Reported-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-23 20:31:52 +13:00
Michael Kerrisk 962939dd7e fcntl.2: Remove mention of EWOULDBLOCK from discussion of mandatory locking
In the kernel, the error on encountering a mandatory lock is
EAGAIN.  Although EAGAIN and EWOULDBLOCK are the same on
most Linux architectures, on some they are not, so don't
mention EWOULDBLOCK as it is misleading.  (Mea culpa.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-23 17:21:00 +13:00
Michael Kerrisk 1de5c70358 group.5: Various minor rewordings and improvements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-23 15:52:26 +13:00
Michael Kerrisk 3508b1f192 null.4: Minor clarifications
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-23 15:39:39 +13:00
Michael Kerrisk 28d03ce9e9 daemon.3, exec.3, fmemopen.3, fopen.3, realpath.3, siginterrupt.3, strtoul.3: Minor rewordings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-23 15:34:12 +13:00
Michael Kerrisk 9e39c4da05 fflush.3: Minor rewordings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-23 15:32:28 +13:00
Michael Kerrisk 0dc60a9902 fclose.3: Minor rewordings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-23 15:27:03 +13:00
Michael Kerrisk 9d05bd16f8 getnameinfo.3: tfix
Reported-by: Leandro A. F. Pereira <leandro@tia.mat.br>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-23 14:51:28 +13:00
Michael Kerrisk 8e415e6187 shmop.2: srcfix: fix kernel version number in FIXME 2009-02-21 14:07:56 +13:00
Michael Kerrisk a306ffff9f getlogin.3: spfix 2009-02-21 07:14:34 +13:00
Michael Kerrisk c8b34bdfbf random.4: spfix 2009-02-21 07:13:48 +13:00
Michael Kerrisk 88850fde24 getnetent_r.3: Fix function name in text: s/getnetbynumber_r/getnetbyaddr_r/
The SYNOPSIS showed the right function name (getnetbyaddr_r),
but the text repeatedly used the wrong name (getnetbynumber_r).
Probably, this was a cut-and-paste error.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-21 07:06:32 +13:00
Michael Kerrisk 88d61d8a48 syslog.3: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-21 06:56:43 +13:00
Michael Kerrisk 540cc87fed epoll.7: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-21 06:55:14 +13:00
Michael Kerrisk 5a3b4036f6 realpath.3: spfix 2009-02-21 06:47:49 +13:00
Michael Kerrisk c49e8fc97b realpath.3: Rework resolved_path==NULL discussion w.r.t. POSIX.1-200[18]
Although the page already mentioned the resolved_path==NULL
feature, and that this feature was added in POSIX.1-2008, there
was still some crufty text in BUGS that hadn't been updated to
reflect the POSIX.1-2008 changes.

Also, some other minor wording and grammar fixes.

Reported-by: Reuben Thomas <rrt@femur.dyndns.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-21 06:40:45 +13:00
Michael Kerrisk 7ec2818340 proc.5: spfix 2009-02-21 00:23:41 +13:00
Michael Kerrisk e3e1215526 console_codes.4: spfix 2009-02-21 00:21:09 +13:00
Michael Kerrisk 3683d2505b malloc_hook.3: srcfix 2009-02-21 00:19:53 +13:00
Michael Kerrisk c09cb5f47f recno.3: spfix 2009-02-21 00:19:06 +13:00
Michael Kerrisk d442cb84ea memchr.3: spfix 2009-02-21 00:17:41 +13:00
Michael Kerrisk ab186fbd11 inet.3: spfix 2009-02-21 00:16:37 +13:00
Michael Kerrisk 7ae19fdf8f memchr.3: spfix 2009-02-21 00:14:51 +13:00
Michael Kerrisk 128d791421 iso_8859-7.7: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-21 00:09:56 +13:00
Michael Kerrisk f0a0c059c3 rtld-audit.7: srcfix: spfix 2009-02-21 00:08:49 +13:00
Michael Kerrisk a4f844c67e man-pages.7: spfix 2009-02-20 23:56:07 +13:00
Michael Kerrisk 1f901dc4a8 man-pages.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 23:55:39 +13:00
Michael Kerrisk d1d32957c7 Start of man-pages-3.20: updating Changes and Changes.old 2009-02-20 21:22:10 +13:00
Michael Kerrisk 8729b2648c Start of man-pages-3.20: updating .Announce and .lsm files 2009-02-20 21:22:09 +13:00
Michael Kerrisk 77ee33b218 Start of man-pages-3.20: renaming .Announce and .lsm files 2009-02-20 21:22:08 +13:00
Michael Kerrisk b13fdfc83b Ready for 3.19 2009-02-20 20:29:05 +13:00
Michael Kerrisk 7c5c0494a3 Removed trailing white space at end of lines 2009-02-20 20:27:47 +13:00
Michael Kerrisk f2f7397a26 Expanded tabs 2009-02-20 20:27:25 +13:00
Michael Kerrisk 09d7e7ebe1 clock_getcpuclockid.3, sem_open.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 20:22:00 +13:00
Michael Kerrisk 741864f7ef Changes: Update for 3.19 changes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 20:19:32 +13:00
Mark Hills 28081592c7 splice.2: ERRORS: Add EINVAL case for file opened O_APPEND
Target file cannot be opened in append (O_APPEND) mode

In kernels prior to v2.6.27 splice() to a file in append mode is broken,
and since that version it is disallowed. It is possible this behaviour
may change in the future; see the kernel commit message
(efc968d450e013049a662d22727cf132618dcb2f) for more information.

Signed-off-by: Mark Hills <mark@pogo.org.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-02-20 19:52:31 +13:00