st.4: Fix description of read() when block is larger than request

Fix the description of read() in variable block mode if the next
block is larger than the requested byte count: error is returned
(as already documented with ENOMEM; better to complete the change
later than never ?-)

Signed-off-by: Kai Mäkisara <kai.makisara@kolumbus.fi>
This commit is contained in:
Kai Mäkisara 2016-06-06 22:35:11 +03:00 committed by Michael Kerrisk
parent 95b1c1d172
commit 34ba508b82
1 changed files with 1 additions and 2 deletions

View File

@ -192,8 +192,7 @@ If the byte count is larger than the
next block on tape, the driver returns the data and the function
returns the actual block size.
If the block size is larger than the
byte count, the requested amount of data from the start of the block
is returned and the rest of the block is discarded.
byte count, error is returned.
.PP
In fixed-block mode the read byte counts can be arbitrary if
buffering is enabled, or a multiple of the tape block size if