Michael Kerrisk
ba9830cfc9
fsync.2: Note that some systems require a writable file descriptor
...
An edited version of Guillem Jover's comments:
[While the file descriptor does not need to be writable on Linux]
that's not a safe portable assumption to make on POSIX in general
as that behavior is not specified and as such is
implementation-specific. Some Unix systems do actually fail on
read-only file descriptors, for example [HP-UX and AIX].
Reported-by: Guillem Jover <guillem@hadrons.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-27 13:50:55 +13:00
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
da8dbaa525
fsync.2: Update feature test macro requirements for fsync()
...
Since glibc 2.8, the fsync() declaration is also exposed if
_POSIX_C_SOURCE >= 200112L
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-11-07 21:42:33 -05:00
Michael Kerrisk
44a2c3286c
Even when the CONFORMING TO section is just a list of standards,
...
they should be terminated by a period.
2008-07-15 13:39:17 +00:00
Michael Kerrisk
0425de01c7
s/ / /
2008-07-01 14:15:13 +00:00
Michael Kerrisk
c11b1abf2e
Change mtk's email address
2007-09-20 06:52:22 +00:00
Michael Kerrisk
8da9ae243a
s/sync (3)/sync ()/
2007-09-19 05:25:00 +00:00
Michael Kerrisk
c6a16930af
Incorporated material from now deleted fdatasync.2.
2007-07-08 19:32:37 +00:00
Michael Kerrisk
cc4615cc78
Added/updated glibc feature test macro requirements
2007-07-08 12:11:40 +00:00
Michael Kerrisk
7b2b5ea4fb
ffix
2007-06-20 22:20:03 +00:00
Michael Kerrisk
d9bfdb9c21
Convert to American spelling conventions
2007-06-08 09:56:56 +00:00
Michael Kerrisk
d9343c5c13
Removed version number from .TH line
2007-05-30 05:36:26 +00:00
Michael Kerrisk
a1d5f77cc8
Reordered sections to be more consistent, in some cases renaming
...
sections or shifting paragraphs between sections.
2007-05-18 16:06:42 +00:00
Michael Kerrisk
c13182efa3
Wrapped long lines, wrapped at sentence boundaries; stripped trailing
...
white space.
2007-04-12 22:42:49 +00:00
Michael Kerrisk
1954b6a9b4
Remove duplicate word typo.
2007-03-01 01:12:16 +00:00
Michael Kerrisk
98a9c4b789
Updated CONFORMING TO
2006-12-18 00:46:28 +00:00
Michael Kerrisk
9d9dc1e854
Updated CONFORMING TO and/or standards references
2006-08-04 09:41:28 +00:00
Michael Kerrisk
bb8617d480
Added SEE ALSO referring to sync_file_range.2.
2006-07-06 09:34:33 +00:00
Michael Kerrisk
6883b3e731
Changed copyright commnents to add 'and' in some cases
2006-05-22 23:52:24 +00:00
Michael Kerrisk
344135a82b
wfix
2006-04-28 20:24:44 +00:00
Michael Kerrisk
eaded2c555
spfix
2006-04-27 23:40:35 +00:00
Michael Kerrisk
1d793a5188
other minor changes
2006-04-27 23:39:55 +00:00
Michael Kerrisk
f67cdb5d4d
Rewrote most of the DESCRIPTION, as well as some other parts
...
the page, to clarify use and operation of, and rationale for,
fsync(2) and fdatasync(2).
2006-04-27 23:31:05 +00:00
Michael Kerrisk
f87925c6bf
Formatting fixes
2005-10-19 16:30:05 +00:00
Michael Kerrisk
e511ffb6bc
Automated addition of parentheses by add_parens_for_own_funcs.sh
2005-10-19 06:54:38 +00:00
Michael Kerrisk
310b79194a
Consistent use of st_atime, st_ctime, st_mtime, with explanatory text,
...
instead if atime/ctime/mtime.
2005-07-19 07:15:17 +00:00
Michael Kerrisk
fea681dafb
Import of man-pages 1.70
2004-11-03 13:51:07 +00:00