HP-UX Reference (11i v1 00/12) - 2 System Calls (vol 5)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man2/!!!intro.2
________________________________________________________________
___ ___
s
sendfile(2) sendfile(2)
[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).
HP-UX Release 11i: December 2000 2 Section 2301
___
___