Guardian Native C Library Calls Reference Manual (G06.28+, H06.05+)

fread(3) Guardian Native C Library Calls Reference Manual
[EAGAIN] The O_NONBLOCK ag is set for the le descriptor underlying the input
stream and the process would be delayed in the read operation.
[EBADF] The le descriptor underlying the input stream is not a valid le descriptor open
for reading.
[EINTR] The read operation was interrupted by a signal that was caught, and no data was
transferred.
[EIO] The implementation supports job control; the process is a member of a back-
ground process group attempting to write to its controlling terminal; TOSTOP is
set; the process is neither ignoring nor blocking SIGTTOU; and the process
group of the process is orphaned. This error may also be returned under
implementation-dened conditions.
[ENOMEM] Insufcient memory storage space is available.
[ENOSPC] There was no free space remaining on the device containing the le.
[ENXIO] A request was made of a nonexistent device, or the request was outside the capa-
bilities of the device.
[EOVERFLOW]
An attempt was made to read at or beyond the le offset maximum. |
[EPIPE] An attempt was made to read from a pipe or FIFO that is not open for writing by
any process. A SIGPIPE signal will also be sent to the process.
Any error encountered during the underlying call to the read() function can cause this function
to return the corresponding errno value reported by the read() function. If your application pro-
gram encounters an errno value not listed above, refer to the read(2) reference page either
online or in the Open System Services System Calls Reference Manual for information about the
cause of that error.
RELATED INFORMATION
Functions: fopen(3), fwrite(3), getc(3), gets(3), printf(3), putc(3), puts(3), read(2), scanf(3),
write(2).
270 Hewlett-Packard Company 527192-007