diff options
Diffstat (limited to 'man2/posix_fadvise.2')
-rw-r--r-- | man2/posix_fadvise.2 | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/man2/posix_fadvise.2 b/man2/posix_fadvise.2 index 7984f7989..c10c121a1 100644 --- a/man2/posix_fadvise.2 +++ b/man2/posix_fadvise.2 @@ -23,7 +23,7 @@ Standard C library .ad l .RS -4 Feature Test Macro Requirements for glibc (see -.BR feature_test_macros (7)): +.MR feature_test_macros 7 ): .RE .P .BR posix_fadvise (): @@ -102,9 +102,9 @@ but this is not guaranteed. Any unwritten dirty pages will not be freed. If the application wishes to ensure that dirty pages will be released, it should call -.BR fsync (2) +.MR fsync 2 or -.BR fdatasync (2) +.MR fdatasync 2 first. .SH RETURN VALUE On success, zero is returned. @@ -145,7 +145,7 @@ while the latter expects \fIloff_t\fP there. .SS Architecture-specific variants Some architectures require 64-bit arguments to be aligned in a suitable pair of registers (see -.BR syscall (2) +.MR syscall 2 for further detail). On such architectures, the call signature of .BR posix_fadvise () @@ -205,13 +205,13 @@ in POSIX.1-2001 TC1. The contents of the kernel buffer cache can be cleared via the .I /proc/sys/vm/drop_caches interface described in -.BR proc (5). +.MR proc 5 . .P One can obtain a snapshot of which pages of a file are resident in the buffer cache by opening a file, mapping it with -.BR mmap (2), +.MR mmap 2 , and then applying -.BR mincore (2) +.MR mincore 2 to the mapping. .SH BUGS Before Linux 2.6.6, if @@ -219,9 +219,9 @@ Before Linux 2.6.6, if was specified as 0, then this was interpreted literally as "zero bytes", rather than as meaning "all bytes through to the end of the file". .SH SEE ALSO -.BR fincore (1), -.BR mincore (2), -.BR readahead (2), -.BR sync_file_range (2), -.BR posix_fallocate (3), -.BR posix_madvise (3) +.MR fincore 1 , +.MR mincore 2 , +.MR readahead 2 , +.MR sync_file_range 2 , +.MR posix_fallocate 3 , +.MR posix_madvise 3 |