Commit Graph

5868 Commits

Author SHA1 Message Date
Michael Kerrisk 7dcae89694 mempcpy.3, signbit.3, significand.3: Global fix: acknowledge FSF in copyright
These pages are heavily based on original material in
glibc info pages, but the comments in the source of the pages
did not acknowledge the FRF copyright on the original material.
Fix that.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-12 07:24:34 +13:00
Michael Kerrisk 86d95cf2dc timerfd_create.2: ERRORS: add EINVAL for invalid 'flags' for timer_settime()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-10 16:36:34 +13:00
Michael Kerrisk c71b054dbc timerfd_create.2: Minor logical restructuring of ERRORS text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-10 16:31:09 +13:00
Michael Kerrisk f9fb3ffcb5 recv.2: Add 'iovec' defn to defn of 'msghdr' structure
The 'msghdr' structure includes a field of type 'iovec',
so show the definition of that structure in this page.

Reported-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-10 11:02:58 +13:00
Michael Kerrisk 9944f03d0d resolv.conf.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:26 +13:00
Michael Kerrisk ac176c0dc2 resolv.conf.5: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:26 +13:00
Michael Kerrisk ac92a408c9 resolv.conf.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:26 +13:00
Michael Kerrisk be8228ec12 resolv.conf.5: Document 'ip6-dotint' / 'no-ip6-dotint' option
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:25 +13:00
Michael Kerrisk 69caec4c8b resolv.conf.5: Document 'ip6-bytestring' option
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:24 +13:00
Michael Kerrisk a4b9f050af resolv.conf.5: srcfix: add comments on glibc version numbers for various options
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:23 +13:00
Michael Kerrisk aa8003d9fd resolv.conf.5: Document 'edns0' option
Reported-by: Walter Jontofsohn <wjontofs@atriumberlin.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:22 +13:00
Michael Kerrisk ef797a11f3 resolv.conf.5: Note that maximum value of 'timeout' option is capped to 30
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:21 +13:00
Michael Kerrisk c12e4e2816 resolv.conf.5: Note that maximum value of 'ndots' option is capped to 15
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-03-08 13:35:21 +13:00
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