Commit Graph

6428 Commits

Author SHA1 Message Date
Michael Kerrisk 7c19417eca fstatvfs.2: Adjust link to point to Section 3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:53:26 +02:00
Michael Kerrisk 33a93cdf66 statvfs.2: Move this page to section 3 (since it's a library call)
Reported-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:51:45 +02:00
Michael Kerrisk 1e7351d41f statfs.2: Bring statfs struct type declarations closer to glibc reality
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:45:16 +02:00
Michael Kerrisk 2ff07a1e5f statfs.2: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:30:04 +02:00
Michael Kerrisk b7b46bf606 statfs.2: Document f_frsize field.
Reported-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:29:29 +02:00
Michael Kerrisk 402ffae30d udp.7: Add FIONREAD warning.
Warn that FIONREAD can't can't distinguish case of a zero-length
datagram from the case where no datagrams are available.

Reported-by: Alexander E. Patrakov <patrakov@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:00:58 +02:00
Jan Engelhardt be62f42148 log.3, log10.3, log2.3: Add cross-references to other-base logarithmic functions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 04:40:35 +02:00
Michael Kerrisk e2ec4f17cd socket.7: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 04:31:58 +02:00
Michael Kerrisk fa574567cc socket.7: Use consistent language to describe read-only socket options
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 04:26:57 +02:00
Jan Engelhardt dd2127e08c socket.7: Document SO_DOMAIN and SO_PROTOCOL
These read-only socket options were new in Linux 2.6.32.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 04:21:37 +02:00
Michael Kerrisk 8b3f5f5989 openpty.3: Explicitly note that these functions are not in POSIX
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 03:47:33 +02:00
Michael Kerrisk 49c32f8f9c openpty.3: Note glibc version that added "const" to function arguments
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 03:45:46 +02:00
Michael Kerrisk ba65815c96 openpty.3: srcfix: remove redundant comment from source
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 03:43:44 +02:00
Eric Blake 671c2ab44b openpty.3: Use const as appropriate
Signed-off-by: Eric Blake <ebb9@byu.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 03:40:51 +02:00
Michael Kerrisk 70bf963fb5 getline.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 15:07:51 +02:00
Robert Wohlrab 7a4a822133 getline.3: Remove unneeded check before free()
The manpage of getline shows an example with an extra NULL pointer check
before it calls free. This is unneeded according to free(3):

     If ptr is NULL, no operation is performed.

This patch removes the "if" check.

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

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 15:05:02 +02:00
Michael Kerrisk 9f864ad204 getline.3: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 15:00:57 +02:00
Michael Kerrisk 9b50d25153 getline.3: wsfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:59:07 +02:00
Michael Kerrisk 7edfdaca06 signal.7: Make a clearer statement about nonportable aspect of signal(2)
Make a clearer statement that signal(2) is less portable for
establishing a signal handler.

Reported-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:53:29 +02:00
Michael Kerrisk 8d4eb5f87e signal.7: Minor wording tweaks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:49:24 +02:00
Michael Kerrisk 13a36929ad recv.2: Minor tweaks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:42:50 +02:00
Yuri Kozlov 687b7c838d pread.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:35:03 +02:00
Andi Kleen f01470e6e3 migrate_pages.2: New page documenting migrate_pages(2).
Andi's text based on the move_pages.2 page; additional edits by mtk.
migrate_pages(2) was new in Linux 2.6.16.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:27:49 +02:00
Michael Kerrisk b8c599cba0 poll.2: Fix discussion of ppoll() timeout argument
1. Rename ppoll)(_ argument to "timeout_ts" to distinguish it
   from the poll() argument in the text.
2. More accurately describe the poll() call that is equivalent
   to ppoll().

Reported-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 14:15:00 +02:00
Andi Kleen ed31c5727f prctl.2: Document the hwpoison prctls in 2.6.32
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 13:47:27 +02:00
Michael Kerrisk c7fb034b88 proc.5: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 13:37:20 +02:00
Michael Kerrisk ed71412616 proc.5: Document CONFIG_MEMORY_FAILURE
This config option is needed to make memory_failure_early_kill
and memory_failure_recovery available.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 13:36:27 +02:00
Michael Kerrisk 3dd0750093 proc.5: Document /proc/sys/vm/memory_failure_recovery
New in Linux 2.6.32.  Description based on the text in
Documentation/sysctl/vm.txt.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 13:33:03 +02:00
Michael Kerrisk 3477f9f628 proc.5: Document /proc/sys/vm/memory_failure_early_kill
New in 2.6.32. Description based on the text in
Documentation/sysctl/vm.txt.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 13:29:37 +02:00
Michael Kerrisk 4f6c65333e proc.5: Minor fix: put /proc/sys/vm/swappiness in alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 13:14:27 +02:00
Michael Kerrisk 81fff50bbf move_pages.2: minor tweaks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 14:26:36 +02:00
Michael Kerrisk ebbb5118f0 mremap.2: Clarify existence of fifth argument.
Reported-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 08:07:47 +02:00
Michael Kerrisk 1fd0fa4338 move_pages.2: minor tweak to Andi's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:13 +02:00
Andi Kleen cb8fbbcd47 Clarify includes/libraries in move_pages page
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:13 +02:00
Michael Kerrisk 665f1e69cf sigaction.2: Improve description of various siginfo_t fields
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:13 +02:00
Andi Kleen f402032c67 sigaction.2: Document hwpoison signal extensions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:12 +02:00
Michael Kerrisk ca90d3f8b6 cproj.3: Note fix for C99 conformance in glibc 2.12.
Reported-by: Tolga Dalman <tdalman@project-psi.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:12 +02:00
Michael Kerrisk 743e7eb306 ftw.3: Note that if 'fn' changes CWD, the results are undefined
Reported-by: Pierre Habouzit <madcoder@madism.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:12 +02:00
Michael Kerrisk bdf1175377 filesystems.5: tfix
Reported-by: Denis Barbier <bouzim@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:11 +02:00
Michael Kerrisk 84112433e2 fmemopen.3: Bug fix in example program
Reported-by: Walter Harms <wharms@bfs.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:11 +02:00
Denis Barbier bb464ec15e core.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:11 +02:00
Michael Kerrisk b2b49ccb2d select_tut.2: Fix bug in example program
Reported-by: Andrew Klossner <andrew@cesa.opbu.xerox.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-11 07:38:10 +02:00
Michael Kerrisk e409862f64 ftw.3: Clarify description of fpath argument
As reported by Pierre Habouzit, 'fpath' is not relative
to 'dirpath'. It is either relative to the calling process's
current working directory (if 'dirpath' was relative), or it
is absolute (if 'dirpath' was absolute).

Reported-by: Pierre Habouzit <madcoder@madism.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 16:33:23 +02:00
Michael Kerrisk 77a2c39741 fopencookie.3: tfix
Reported-by: Martin (Joey) Schulze <joey@infodrom.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 15:18:03 +02:00
Fang Wenqi a30508988b statfs.2: Add definition EXT4_SUPER_MAGIC = 0xEF53
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 15:05:59 +02:00
Jeff Barry 85c716cb9f filesystems.5: Add discussion of ntfs and ext4
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 14:48:17 +02:00
Yuri Kozlov 84492c365b setsid.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 14:43:43 +02:00
Michael Kerrisk 57440a987d getrusage.2: Enhanced description of various fields
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 05:21:17 +02:00
Michael Kerrisk e3f4bf3ee4 getrusage.2: srcfix: Update change history to note Mark Hills' updates
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 05:21:05 +02:00
Mark Hills c90ccb4e1b getrusage.2: Add ru_maxrss
See kernel commit 1f10206.

Signed-off-by: Mark Hills <mark@pogo.org.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-24 04:27:40 +02:00