diff options
Diffstat (limited to 'man2/fsync.2')
-rw-r--r-- | man2/fsync.2 | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/man2/fsync.2 b/man2/fsync.2 index e8d19bcc8..fa08a1c83 100644 --- a/man2/fsync.2 +++ b/man2/fsync.2 @@ -32,7 +32,7 @@ Standard C library .P .RS -4 Feature Test Macro Requirements for glibc (see -.BR feature_test_macros (7)): +.MR feature_test_macros 7 ): .RE .P .nf @@ -63,7 +63,7 @@ The call blocks until the device reports that the transfer has completed. As well as flushing the file data, .BR fsync () also flushes the metadata information associated with the file (see -.BR inode (7)). +.MR inode 7 ). .P Calling .BR fsync () @@ -85,13 +85,13 @@ or .I st_mtime (respectively, time of last access and time of last modification; see -.BR inode (7)) +.MR inode 7 ) do not require flushing because they are not necessary for a subsequent data read to be handled correctly. On the other hand, a change to the file size .RI ( st_size , as made by say -.BR ftruncate (2)), +.MR ftruncate 2 ), would require a metadata flush. .P The aim of @@ -111,7 +111,7 @@ is not a valid open file descriptor. .TP .B EINTR The function was interrupted by a signal; see -.BR signal (7). +.MR signal 7 . .TP .B EIO An error occurred during synchronization. @@ -143,7 +143,7 @@ which does not support synchronization. .I fd is bound to a file on NFS or another filesystem which does not allocate space at the time of a -.BR write (2) +.MR write 2 system call, and some previous write failed due to insufficient storage space. .SH VERSIONS @@ -155,7 +155,7 @@ is defined in .I <unistd.h> to a value greater than 0. (See also -.BR sysconf (3).) +.MR sysconf 3 .) .\" POSIX.1-2001: It shall be defined to -1 or 0 or 200112L. .\" -1: unavailable, 0: ask using sysconf(). .\" glibc defines them to 1. @@ -175,9 +175,9 @@ The implementations in older kernels and lesser used filesystems do not know how to flush disk caches. In these cases disk caches need to be disabled using -.BR hdparm (8) +.MR hdparm 8 or -.BR sdparm (8) +.MR sdparm 8 to guarantee safe operation. .P Under AT&T UNIX System V Release 4 @@ -187,14 +187,14 @@ This is by itself incompatible with the original BSD interface and forbidden by POSIX, but nevertheless survives in HP-UX and AIX. .SH SEE ALSO -.BR sync (1), -.BR bdflush (2), -.BR open (2), -.BR posix_fadvise (2), -.BR pwritev (2), -.BR sync (2), -.BR sync_file_range (2), -.BR fflush (3), -.BR fileno (3), -.BR hdparm (8), -.BR mount (8) +.MR sync 1 , +.MR bdflush 2 , +.MR open 2 , +.MR posix_fadvise 2 , +.MR pwritev 2 , +.MR sync 2 , +.MR sync_file_range 2 , +.MR fflush 3 , +.MR fileno 3 , +.MR hdparm 8 , +.MR mount 8 |