- sendfile library
cc [ flag... ] file... -lsendfile [ library... ] #include <sys/sendfile.h>
The functions in this library provide routines that enable files to be sent over sockets, buffers to be sent over sockets, files to be copied to files, and buffers to be copied to files.
The shared object libsendfile.so.1 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.
The following interfaces are unique to the 32-bit version of this library:
64–bit shared object
See attributes(5) for descriptions of the following attributes: