Michael Kerrisk
ad4760331e
fsync.2: Minor clean-ups of Christoph's patch
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:50:55 +13:00
Christoph Hellwig
71ae2f4a3f
fsync.2: Various improvements
...
- explain the situation with disk caches better
- remove the duplicate fdatasync() explanation in the NOTES
section
- remove an incorrect note about fsync() generally requiring two
writes
- remove an obsolete ext2 example note
- fsync() works on any file descriptor (doesn't need to be
writable); correct the EBADF error code explanation
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:49:25 +13:00
Michael Kerrisk
c0c3d0195d
fallocate.2: srcfix: Added FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:30:55 +13:00
Michael Kerrisk
7eb92881ee
fallocate.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:30:55 +13:00
Michael Kerrisk
54d25ecaec
fallocate.2: ERRORS: Add EPERM error case for FALLOC_FL_PUNCH_HOLE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:30:55 +13:00
Michael Kerrisk
f52e0be8bb
fallocate.2: Substantial restructuring of DESCRIPTION
...
The addition of a second class of operation ("hole punching")
to the man page made it clear that some significant restructuring
is required. So I substantially reworked the page, including the
preexisting material on the default "file allocation" operation.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:30:55 +13:00
Michael Kerrisk
96575bbc0e
fallocate.2: Add further details for FALLOC_FL_PUNCH_HOLE
...
Reported-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:30:55 +13:00
Lucian Adrian Grijincu
1c7857e9dd
fallocate.2: Document FALLOC_FL_PUNCH_HOLE
...
FALLOC_FL_PUNCH_HOLE was added in Linux 2.6.38,
for punching holes in the allocated space in a file.
Signed-off-by: Lucian Adrian Grijincu <lucian.grijincu@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:30:55 +13:00
Michael Kerrisk
74819bb2b8
request_key.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:30:55 +13:00
Michael Kerrisk
be464b55a0
add_key.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:30:55 +13:00
Michael Kerrisk
174428192d
sendmmsg.2: minor changes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 11:11:48 +13:00
Michael Kerrisk
969d3d9e76
sendmmsg.2: srcfix: Added FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 11:10:11 +13:00
Michael Kerrisk
53aeb9c2da
send.2: Add mention of sendmmsg(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 11:10:11 +13:00
Michael Kerrisk
82c182484a
sendmmsg.2: New page for sendmmsg(2)
...
Some pieces inspired by an initial attempt by Stephan Mueller.
Reported-by: Stephan Mueller <stephan.mueller@atsec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 11:10:11 +13:00
Michael Kerrisk
d5563c9427
dup.2: SYNOPSIS: Add "#include <fntl.h>" for O_* constants
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-14 10:19:54 +13:00
Michael Kerrisk
509b5e8b73
pipe.2: SYNOPSIS: Add "#include <fntl.h>" for O_* constants
...
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659750
Reported-by: Salvo Tomaselli <tiposchi@tiscali.it>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-14 10:16:21 +13:00
Michael Kerrisk
156f55f623
passwd.5: s/asterisk/asterisk (*)/ to improve clarity
...
Reported-by: Walter Haidinger <walter.haidinger@gmx.at>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-14 07:22:01 +13:00
Jessica McKellar
0deb3ce930
open.2: Fix grammar in O_DIRECT description
...
Some small grammar fixes to the O_DIRECT description.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-13 10:22:05 +13:00
Michael Kerrisk
2b2e0ce503
mremap.2: spfix
...
Reported-by: Vijay Rao <vijay@portuosus.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-12 22:53:31 +13:00
Walter Harms
88eafb6e7a
sem_wait.3: EXAMPLE: Remove extraneous line of output from shell session
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-12 06:11:51 +13:00
Michael Kerrisk
c799ca6250
sync.2: PROTOTYPE: Fix return type of syncfs()
...
Reported-by: Simone Piccardi <piccardi@truelite.it>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-12 06:01:35 +13:00
Michael Kerrisk
f49ee36532
vfork.2: CONFORMING TO: Note that POSIX.1-2001 marked vfork() obsolete
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-08 12:05:46 +13:00
Michael Kerrisk
619c3d1b2d
vfork.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-08 12:05:46 +13:00
Michael Kerrisk
c59392ff61
vfork.2: Add some notes on reasons why vfork() still exists
...
Reported-by: starlight@binnacle.cx
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-08 12:05:36 +13:00
Michael Kerrisk
ab47b8bc20
vfork.2: Note clone() flags equivalent to vfork()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-08 10:03:58 +13:00
Michael Kerrisk
60875c0427
vfork.2: Clarify what is duplicated in the child
...
Add some words to make it clear to the reader that vfork(),
like fork(), creates duplicates of process attributes
in the child.
Reported-by: starlight@binnacle.cx
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-08 10:00:41 +13:00
Michael Kerrisk
6de06bb89f
fork.2: NOTES: Descibe clone() call equivalent to fork()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-08 09:30:07 +13:00
Michael Kerrisk
cf2b18fe6d
vfork.2: Clarify that calling *thread* is suspended during vfork()
...
Reported-by: starlight@binnacle.cx
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-08 09:28:06 +13:00
Michael Kerrisk
98afd65767
resolv.conf.5: Describe syntax used for comments
...
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656994
Reported-by: Slaven Rezic <srezic@iconmobile.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-08 07:29:23 +13:00
Michael Kerrisk
c1b273fce8
passwd.5: Correct note on passwd field value when shadowing is enabled
...
When password shadowing is enabled, the password field
contains an 'x' (not a "8').
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-08 07:01:11 +13:00
Elie De Brauwer
78fc91ec1b
proc.5: Fix description of fourth field of /proc/loadavg
...
SIgned-off-by: Elie De Brauwer <eliedebrauwer@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-08 06:21:20 +13:00
Michael Kerrisk
a7bd22c67a
scanf.3: tfix
...
Reported-by: Alain Benedetti <alainb06@free.fr>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-03 08:03:16 +13:00
Michael Kerrisk
4be34a4d1d
wcslen.3: tfix
...
Reported-by: carado <carado@savhon.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-03 08:03:09 +13:00
Michael Kerrisk
82d0acff52
mount.2: Removed erroneous statement about MS_RDONLY and bind mounts
...
Reported-by: Junjiro Okajima <jro@mx3.ttcn.ne.jp>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-01-18 23:23:51 +13:00
Michael Kerrisk
5d83f9cd34
gets.3: Document C11 and glibc 2.16 changes affecting gets()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-01-18 14:28:10 +13:00
Michael Kerrisk
ea22a037c6
feature_test_macros.7: Document _ISOC11_SOURCE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-01-18 14:21:03 +13:00
Michael Kerrisk
d7e34031fb
core.5: Document %E specifier for core_pattern
...
Reported-by: Junjiro Okajima <jro@mx3.ttcn.ne.jp>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-01-17 21:36:44 +13:00
Michael Kerrisk
037f4132fb
readdir.3: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-01-17 16:27:21 +13:00
Michael Kerrisk
591b7a5f21
inotify.7: Note that 'cookie' field is set to zero when unused
...
Reported-by: Yang Yang <wdscxsj@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-12-07 07:19:58 +01:00
Michael Kerrisk
4729f08116
Expanded tabs
2011-11-12 10:30:28 +01:00
Michael Kerrisk
3c81e148a2
wcsnrtombs.3, wcsrtombs.3, wcstombs.3: Fix-ups for e9c23bc636
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-16 08:07:31 +02:00
Michael Kerrisk
11d6f170ed
wcpcpy.3: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-16 07:51:22 +02:00
David Prévot
a845750068
wcrtomb.3: ffix
...
Signed-off-by: David Prévot <taffit@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-16 07:20:04 +02:00
Michael Kerrisk
4a905b9294
pthread_sigmask.3: Fix comment that was inconsistent with code in example program
...
Reported-by: Pat Pannuto <pat.pannuto@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-16 07:13:19 +02:00
Clemens Ladisch
45b4eda6e8
sched_rr_get_interval.2: Update notes on modifying quantum
...
Since Linux 2.6.24, it is no longer possible to
modify the SCHED_RR quantum using setpriority(2).
(Slight edits to Clemens' patch by mtk.)
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-16 07:01:47 +02:00
Michael Kerrisk
585d38140f
sched_rr_get_interval.2: Reworded text of ESRCH error
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-16 06:54:16 +02:00
Michael Kerrisk
ca016ea98b
sched_rr_get_interval.2: srcfix: Changed in-line formatting to dot directives
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-16 06:50:04 +02:00
Michael Kerrisk
4e2621b57e
sched_rr_get_interval.2: Reordered various pieces of text
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-16 06:45:57 +02:00
Michael Kerrisk
a1712680c4
man.7: Various fixes for description of NAME section
...
As noted by reporter:
* The code sample given for the NAME section is incomplete because
the actual content sample is not given.
* Additionally, the description assumes that the item described is
a command, which need not be the case.
* The command makewhatis is not present on my system; the
documented tool to create the whatis database is called mandb.
* The description on .SH NAME in man(7) should either copy the
relevant paragraph of lexgrog(1) or refer to it.
Reported by: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-05 08:10:43 +02:00
Michael Kerrisk
2c4201f01a
proc.5: srcfix: Added pointer to a commit
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-05 07:38:45 +02:00