HP-UX Reference (11i v3 07/02) - 2 System Calls (vol 5)
s
sendfile(2) sendfile(2)
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), shutdown(2), socket(2), write(2), TCP(7P).
HP-UX 11i Version 3: February 2007 − 2 − Hewlett-Packard Company 383