fcntl.2: Actual pipe capacity may in practice be less than nominal capacity
commitd4dca6b626bb6e7d6aa639bde1d9d8388e07d410
authorMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 12 Sep 2018 15:21:30 +0000 (12 17:21 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 12 Sep 2018 15:21:30 +0000 (12 17:21 +0200)
tree2460505ed1bd04fdb17253d54cf8786371d3db88
parentf957eebd2d9320564e9fcd13037f3e96fd5d4d34
fcntl.2: Actual pipe capacity may in practice be less than nominal capacity

The number of bytes that can be written to the pipe may be less
(sometimes substantially less) than the nominal capacity. This
was confirmed with some testing. For example, when writing
4097-byte blocks to a pipe with 65536 byte capacity, only 45066
bytes could be written (i.e., 20470 bytes less than 65536).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/fcntl.2