diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:41:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:41:07 +0000 |
commit | 3af6d22bb3850ab2bac67287e3a3d3b0e32868e5 (patch) | |
tree | 3ee7a3ec64525911fa865bb984c86d997d855527 /man2/sync_file_range.2 | |
parent | Adding debian version 6.05.01-1. (diff) | |
download | manpages-3af6d22bb3850ab2bac67287e3a3d3b0e32868e5.tar.xz manpages-3af6d22bb3850ab2bac67287e3a3d3b0e32868e5.zip |
Merging upstream version 6.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man2/sync_file_range.2')
-rw-r--r-- | man2/sync_file_range.2 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/man2/sync_file_range.2 b/man2/sync_file_range.2 index f324f75..becef29 100644 --- a/man2/sync_file_range.2 +++ b/man2/sync_file_range.2 @@ -7,7 +7,7 @@ .\" Andrew Morton's comments in fs/sync.c .\" 2010-10-09, mtk, Document sync_file_range2() .\" -.TH sync_file_range 2 2023-07-15 "Linux man-pages 6.05.01" +.TH sync_file_range 2 2023-10-31 "Linux man-pages 6.7" .SH NAME sync_file_range \- sync a file segment with disk .SH LIBRARY @@ -18,7 +18,7 @@ Standard C library .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #define _FILE_OFFSET_BITS 64 .B #include <fcntl.h> -.PP +.P .BI "int sync_file_range(int " fd ", off_t " offset ", off_t " nbytes , .BI " unsigned int " flags ); .fi @@ -28,7 +28,7 @@ permits fine control when synchronizing the open file referred to by the file descriptor .I fd with disk. -.PP +.P .I offset is the starting byte of the file range to be synchronized. .I nbytes @@ -42,7 +42,7 @@ Synchronization is in units of the system page size: is rounded down to a page boundary; .I (offset+nbytes\-1) is rounded up to a page boundary. -.PP +.P The .I flags bit-mask argument can include any of the following values: @@ -61,7 +61,7 @@ write more than request queue size. .B SYNC_FILE_RANGE_WAIT_AFTER Wait upon write-out of all pages in the range after performing any write. -.PP +.P Specifying .I flags as 0 is permitted, as a no-op. @@ -89,7 +89,7 @@ will detect any I/O errors or .B ENOSPC conditions and will return these to the caller. -.PP +.P Useful combinations of the .I flags bits are: @@ -173,14 +173,14 @@ arguments. for details.) Therefore, these architectures define a different system call that orders the arguments suitably: -.PP +.P .in +4n .EX .BI "int sync_file_range2(int " fd ", unsigned int " flags , .BI " off_t " offset ", off_t " nbytes ); .EE .in -.PP +.P The behavior of this system call is otherwise exactly the same as .BR sync_file_range (). .SH STANDARDS |