Commit Graph

6123 Commits

Author SHA1 Message Date
Michael Kerrisk 509718c075 rtnetlink.3: Various fixes in example code
Edward reported a problem in the example code, where a variable
seems to be misnamed. Upon inspection, there seem to be a few
such instances, and this patch is my best guess at how things
should look.

Reported-by: Edward Welbourne <eddy@opera.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 17:27:35 +01:00
Michael Kerrisk 7111f89ff2 open.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-05 17:49:46 +01:00
Michael Kerrisk a417046130 madvise.2: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-05 17:20:52 +01:00
Colin Watson 9ec8f8605e execve.2: Fix description of treatment of caught signals
Caught signals reset to their default on an execve() (not
to being ignored).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-05 15:07:22 +01:00
Fang Wenqi bc918a3acd proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-31 18:23:37 +01:00
Tobias Stoeckmann dfacdd0a3d dlopen.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-31 18:16:00 +01:00
Michael Kerrisk 7cc796ee52 faccessat.2, fchmodat.2, fchownat.2, fstatat.2, futimesat.2, linkat.2, mkdirat.2, mknodat.2, openat.2, readlinkat.2, renameat.2, symlinkat.2, unlinkat.2, utimensat.2, mkfifoat.3: Update feature test macro requirements
Starting in glibc 2.10, defining _XOPEN_SOURCE >= 700,
or _POSIX_C_SOURCE >= 200809 exposes the declarations of
these functions.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-13 22:54:45 +01:00
Michael Kerrisk 8a8c6284f7 feature_test_macros.7: _POSIX_C_SOURCE >= 200808 defines _ATFILE_SOURCE
Since glibc 2.10, _POSIX_C_SOURCE >= 200808 defines _ATFILE_SOURCE

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-13 17:49:38 +01:00
Michael Kerrisk 6a56bbb532 sched_getcpu.3: Place correct header file in SYNOPSIS
Reported-by: Samy Al Bahra <sbahra@repnop.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-08 02:29:14 +01:00
Michael Kerrisk ac049785a2 nextafter.3: Fix notable error in DESCRIPTION.
"less than y" should be "less than x".

Reported-by: Jann Poppinga <jann.poppinga@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 15:08:00 +01:00
Michael Kerrisk 6deb7a03ce getline.3: Update to reflect that these functions were standardized in POSIX.1-2008
Reported-by: Mike Frysinger <vapier@gentoo.org>
Reported-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 14:58:09 +01:00
Michael Kerrisk 51a492bdd0 daemon.3: Fix description of 'nochdir' argument.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554819

Reported-by: Frdric Brire <fbriere@fbriere.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 14:39:32 +01:00
Mark Hills 513785e299 string.3: Add stpcpy() to this list of string functions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 07:40:42 +01:00
Michael Kerrisk e70f27ec76 path_resolution.7: Fix NAME line
The poorly constructed part receding "\-" causes apropos
not to be able to find the subject.

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

Reported-by: <jidanni@jidanni.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 07:26:44 +01:00
Michael Kerrisk 8d24c515fc pts.4: wfix in NAME section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 07:12:52 +01:00
Michael Kerrisk fba89f025f console_ioctl.4: tfix in NAME section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 07:12:24 +01:00
Michael Kerrisk e463809843 tty_ioctl.4: tfix in NAME line
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 07:11:32 +01:00
Michael Kerrisk 2908c4cf0b path_resolution.7: Add readlink(2) to SEE ALSO
Reported-by: <jidanni@jidanni.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 07:01:02 +01:00
Michael Kerrisk 7e6b1afb45 strptime.3: Initialize tm structure in example program
Reported-by: Doug Manley <doug.manley@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 06:49:17 +01:00
Michael Kerrisk 183d08ce41 fopencookie.3: tfix
Reported-by: Stuart Kemp <skemp@alertlogic.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 06:11:59 +01:00
Mark Hills 2cd33eb56c strcpy.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 06:03:25 +01:00
Michael Kerrisk 13a7959b69 memchr.3: Add feature text macro requirements for memrchr()
Reported-by: Markus Peuhkuri <puhuri@iki.fi>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-05 04:55:33 +01:00
Michael Kerrisk c162db87db pthread_join.3: wfix: s/pthread_create/pthread_join/
Reported-by: Sam Liao <phyomh@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-03 15:44:01 +01:00
Yuri Kozlov 1f79eca5ac getaddrinfo.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-03 15:36:19 +01:00
Michael Kerrisk 42afc4076c getpwnam.3: tfix
Reported-by: <sunjiangangok@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-03 15:17:53 +01:00
Michael Kerrisk a10ab4c695 getnameinfo.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-03 13:57:42 +01:00
Michael Kerrisk f87ab54768 gethostbyname.3: Document feature test macro requirements for herror() and hstrerror()
Since glibc 2.8, one of _BSD_SOURCE, _SVID_SOURCE,
or _GNU_SOURCE is required.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-03 13:54:24 +01:00
Michael Kerrisk 0d4b699de2 getnameinfo.3: Document feature test macros requirements for NI_MAXHOST and NI_MAXSERV
Since glibc 2.8, one of _BSD_SOURCE, _SVID_SOURCE, or _GNU_SOURCE
must be defined to obtain these definitions.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-12-03 13:54:16 +01:00
Michael Kerrisk 43ada5d427 madvise.2: scrfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-11-27 08:17:35 +01:00
Michael Kerrisk 715e4bec08 setreuid.2: Add more detail on POSIX.1 specification for these syscalls
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-17 07:35:40 +02:00
Michael Kerrisk b033d60f29 seteuid.2: Note unstandardized behavior for effective ID
PSOIX.1 doesn't require that the effective ID can be changed
to the same value it currently has (a no-op). The man page
should note this, since some other implementations
don't permit it.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-17 07:06:46 +02:00
Michael Kerrisk 70ccce1140 group.5: s/passwd/password/
The page inconsistently used "passwd" and "password"
to refer to the same field.

Reported-by: Jason Goldfine-Middleton <jasonwoodfine@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-17 06:47:27 +02:00
Andries E. Brouwer 130b2e49b1 clone.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-17 06:39:02 +02:00
Michael Kerrisk 7a8fe6a940 setgid.2: Fix EPERM error description
s/effective group ID/real group ID/
This bug lived in man pages for 15 years before Jason
spotted it! I checked back in Linux 1.0, and the behavior
was as the fixed man page describes.

Reported-by: Jason Noakes <jjnoakes@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-17 06:36:12 +02:00
Michael Kerrisk 1eef2ba881 fcntl.2: s/F_OWNER_GID/F_OWNER_PGRP/
Peter Zijlstra took the name change I suggested.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-17 06:00:04 +02:00
Michael Kerrisk dd164bfcd5 fcntl.2: Document F_[SG]ETOWN_EX; update details on F_SETOWN
Linux 2.6.32 adds F_SETOWN_EX and F_GETOWN_EX.
Linux 2.6.12 changed (broke) the former behavior of
F_SETOWN with respect to threads.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-03 17:23:31 +02:00
Michael Kerrisk 4c88340a5b Changes.old: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-10-03 07:41:35 +02:00
Michael Kerrisk 52725cd997 Start of man-pages-3.24: updating Changes and Changes.old 2009-09-30 05:21:56 +02:00
Michael Kerrisk dc7e17a319 Start of man-pages-3.24: updating .Announce and .lsm files 2009-09-30 05:21:55 +02:00
Michael Kerrisk 37d717a405 Start of man-pages-3.24: renaming .Announce and .lsm files 2009-09-30 05:21:55 +02:00
Michael Kerrisk a5bfc11c2c Ready for 3.23 2009-09-30 03:36:19 +02:00
Michael Kerrisk 17e5e6779a Removed trailing white space at end of lines 2009-09-30 03:34:51 +02:00
Michael Kerrisk 2843ba93d4 stat.2, posix_fallocate.3, proc.5, tcp.7, udp.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-30 03:28:34 +02:00
Michael Kerrisk a63a7bcd8c Changes: Update for 3.23 release
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-30 03:25:50 +02:00
Nicolas Franois 576b0bccd1 capabilities.7: Reword a bad sentence in description of capability bounding set.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:31 +02:00
Nicolas Franois 4d1de263eb cpuset.7: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:31 +02:00
Nicolas Franois e46256a48c strftime.3: Fix error in description: s/Monday/Thursday/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:31 +02:00
Nicolas Franois 71a8ab18b9 tcp.7: wfix: be more consistent in usage of infinitive or indicative
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:31 +02:00
Nicolas Franois b8f094b3d6 tcp.7, udp.7: Replace references to syctl interfaces with /proc
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:30 +02:00
Michael Kerrisk c440fe01d3 clone.2: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2009-09-28 12:46:30 +02:00