sendfile64.2 (2010 09)
s
sendfile64(2) sendfile64(2)
[EPIPE] With SIGPIPE signal. An attempt was made to send on a socket that was con-
nected, 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 pro-
cess 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.
Return Value == 0 An application has opened a large file (see open (2)) and is trying to use
send-
file64 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).
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2010