diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2014-07-01 11:40:36 +0200 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2014-07-01 11:40:36 +0200 |
commit | 5c4d5f9715cf0dacd5adba14c074d5481d24d894 (patch) | |
tree | f481e91fe59d458667929b67acc6c9e61366bce3 | |
parent | 417e4f5c50d2c09205e2c6ad8d494e983e8fef43 (diff) |
fcntl.2: The return value for F_SETPIPE_SZ is the pipe capacity
Reported-by: Tomi Salminen <tlsalmin@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r-- | man2/fcntl.2 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/man2/fcntl.2 b/man2/fcntl.2 index b73fdc372..cee67c378 100644 --- a/man2/fcntl.2 +++ b/man2/fcntl.2 @@ -1257,9 +1257,7 @@ When allocating the buffer for the pipe, the kernel may use a capacity larger than .IR arg , if that is convenient for the implementation. -The -.B F_GETPIPE_SZ -operation returns the actual size used. +The actual capacity that is set is returned as the function result. Attempting to set the pipe capacity smaller than the amount of buffer space currently used to store data produces the error .BR EBUSY . @@ -1291,7 +1289,7 @@ for traditional .B SIGIO behavior. .TP -.B F_GETPIPE_SZ +.BR F_GETPIPE_SZ ", " F_SETPIPE_SZ The pipe capacity. .TP All other commands |