HP-UX Reference (11i v1 05/09) - 2 System Calls (vol 5)

s
sendfile64(2) sendfile64(2)
connected to its peer.
[EPIPE] With SIGPIPE signal. An attempt was made to send on a socket that was connected,
but the connection has been shut down either by the remote peer or by this side of the
connection. Note that the default action for SIGPIPE
, unless the process has esta-
blished 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.
Return Value == 0 An application has opened a large file (see open(2)) and is trying to use
sendfile64
without having been compiled with _LARGEFILE64_SOURCE and
_FILE_OFFSET_BITS=64 compile flags.
SEE ALSO
connect(2), creat64(2), read(2), send(2), sendfile(2), shutdown(2), socket(2), tcp(7P), write(2).
HP-UX 11i Version 1: September 2005 2 Hewlett-Packard Company Section 2325