Read should return exactly the number of bytes requested except
on EOF or error, otherwise the rest of the data will be
substituted with zeroes. An exception to this is when the
'direct_io' mount option is specified, in which case the return
value of the read system call will reflect the return value of
this operation.
Read data from an open file.
Read should return exactly the number of bytes requested except on EOF or error, otherwise the rest of the data will be substituted with zeroes. An exception to this is when the 'direct_io' mount option is specified, in which case the return value of the read system call will reflect the return value of this operation.