sendfile.2 (2010 09)
s
sendfile(2) sendfile(2)
process has established a signal handler for this signal, is to terminate the process.
[EAGAIN] Nonblocking I/O is enabled using the
O_NONBLOCK
flag with fcntl(), and the
requested operation would block.
[EWOULDBLOCK] The socket is marked non-blocking and the requested operation would block.
[ENOMEM] No memory is available in the system to perform the operation.
[EOPNOTSUPP] The socket is not a TCP socket.
[EOVERFLOW] An application has opened a large file (see open(2)) and is trying to use sendfile
without having been compiled with the
_FILE_OFFSET_SIZE=64
and
_LARGEFILE_SOURCE
/_LARGEFILE64_SOURCE
compile flags. This operation is
not allowed because the return value , offset , and nbytes are not 64-bit values and
may overflow.
SEE ALSO
connect(2), send(2), sendfile64(2), socket(2), tcp(7P), write(2), shutdown(2).
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2010