summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElie De Brauwer <eliedebrauwer@gmail.com>2014-07-06 15:44:11 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-07-07 09:07:31 +0200
commit91d4de6683afa2f1d92e41beef794ef712b9e763 (patch)
tree6acf331d8635fe0708a21766c53a337f8613d08a
parent4fe82a332b0e486c6862a568c393ed0a91e562d8 (diff)
pipe.7: Add reference that the pipe capacity can be changed.
In fcntl(2) F_SETPIPE_SZ, F_GETPIPE_SZ and /proc/sys/fs/pipe-max-size are defined, however pipe(7) still defines the pipe capacity as being a static entity. Adding a reference to fcntl(2). Signed-off-by: Elie De Brauwer <eliedebrauwer@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man7/pipe.710
1 files changed, 10 insertions, 0 deletions
diff --git a/man7/pipe.7 b/man7/pipe.7
index 78d1ceab2..64a6761d5 100644
--- a/man7/pipe.7
+++ b/man7/pipe.7
@@ -133,6 +133,16 @@ so that a writing process does not remain blocked.
In Linux versions before 2.6.11, the capacity of a pipe was the same as
the system page size (e.g., 4096 bytes on i386).
Since Linux 2.6.11, the pipe capacity is 65536 bytes.
+Since Linux 2.6.35, the pipe capacity can be queried and set using the
+.BR fcntl (2)
+.BR F_GETPIPE_SZ
+and
+.BR F_SETPIPE_SZ
+operations.
+See
+.BR fcntl (2)
+for more information.
+
.SS PIPE_BUF
POSIX.1-2001 says that
.BR write (2)s