diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2 index e0ce051e..1d08ac8a 100644 --- a/man/io_uring_enter.2 +++ b/man/io_uring_enter.2 @@ -253,7 +253,7 @@ and .BR pwritev2 (2). If the file is not seekable, .I off -must be set to zero. +must be set to zero or -1. .TP .B IORING_OP_READ_FIXED @@ -789,7 +789,7 @@ contains the read or write offset. If .I fd does not refer to a seekable file, .I off -must be set to zero. If +must be set to zero or -1. If .I offs is set to .B -1 diff --git a/man/io_uring_prep_read.3 b/man/io_uring_prep_read.3 index faec35f9..a7636087 100644 --- a/man/io_uring_prep_read.3 +++ b/man/io_uring_prep_read.3 @@ -40,7 +40,7 @@ current file offset may result in unpredictable behavior, unless access to the file is serialized. It is not encouraged to use this feature, if it's possible to provide the desired IO offset from the application or library. -On files that are not capable of seeking, the offset is ignored. +On files that are not capable of seeking, the offset must be 0 or -1. After the read has been prepared it can be submitted with one of the submit functions. diff --git a/man/io_uring_prep_readv.3 b/man/io_uring_prep_readv.3 index ea7afd59..031d70d3 100644 --- a/man/io_uring_prep_readv.3 +++ b/man/io_uring_prep_readv.3 @@ -41,7 +41,7 @@ current file offset may result in unpredictable behavior, unless access to the file is serialized. It is not encouraged to use this feature, if it's possible to provide the desired IO offset from the application or library. -On files that are not capable of seeking, the offset is ignored. +On files that are not capable of seeking, the offset must be 0 or -1. After the write has been prepared it can be submitted with one of the submit functions. diff --git a/man/io_uring_prep_readv2.3 b/man/io_uring_prep_readv2.3 index 171a6995..88a4bd49 100644 --- a/man/io_uring_prep_readv2.3 +++ b/man/io_uring_prep_readv2.3 @@ -67,7 +67,7 @@ current file offset may result in unpredictable behavior, unless access to the file is serialized. It is not encouraged to use this feature, if it's possible to provide the desired IO offset from the application or library. -On files that are not capable of seeking, the offset is ignored. +On files that are not capable of seeking, the offset must be 0 or -1. After the write has been prepared, it can be submitted with one of the submit functions. diff --git a/man/io_uring_prep_write.3 b/man/io_uring_prep_write.3 index 791a5f14..794361f0 100644 --- a/man/io_uring_prep_write.3 +++ b/man/io_uring_prep_write.3 @@ -40,7 +40,7 @@ current file offset may result in unpredictable behavior, unless access to the file is serialized. It is not encouraged to use this feature if it's possible to provide the desired IO offset from the application or library. -On files that are not capable of seeking, the offset is ignored. +On files that are not capable of seeking, the offset must be 0 or -1. After the write has been prepared, it can be submitted with one of the submit functions. diff --git a/man/io_uring_prep_writev.3 b/man/io_uring_prep_writev.3 index 9fb83d9e..0a442c20 100644 --- a/man/io_uring_prep_writev.3 +++ b/man/io_uring_prep_writev.3 @@ -41,7 +41,7 @@ current file offset may result in unpredictable behavior, unless access to the file is serialized. It is not encouraged to use this feature if it's possible to provide the desired IO offset from the application or library. -On files that are not capable of seeking, the offset is ignored. +On files that are not capable of seeking, the offset must be 0 or -1. After the write has been prepared it can be submitted with one of the submit functions. diff --git a/man/io_uring_prep_writev2.3 b/man/io_uring_prep_writev2.3 index 5093596c..2431b652 100644 --- a/man/io_uring_prep_writev2.3 +++ b/man/io_uring_prep_writev2.3 @@ -67,7 +67,7 @@ current file offset may result in unpredictable behavior, unless access to the file is serialized. It is not encouraged to use this feature if it's possible to provide the desired IO offset from the application or library. -On files that are not capable of seeking, the offset is ignored. +On files that are not capable of seeking, the offset must be 0 or -1. After the write has been prepared, it can be submitted with one of the submit functions.