The read function returns the number of bytes read. The return value does not necessarily equal nbytes. For example, if the input is from a terminal, at most one line of characters is read. NOTE The read function does not span record boundaries in a record file and, therefore, reads at most one record. A separate read must be done for each record.