Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

libsendfile(3LIB)

Name

libsendfile - sendfile library

Synopsis

#include <sys/sendfile.h>

Description

Historically, this library provided routines that enabled 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. This functionality now resides in libc(3LIB).

This library is maintained to provide backward compatibility for both runtime and compilation environments. The shared object is implemented as a filter on libc.so.1. New application development need not specify –lsendfile.

INTERFACES

The shared object libsendfile.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object interfaces.

sendfile
sendfilev

The following interfaces are unique to the 32-bit version of this library:

sendfile64
sendfilev64

Files

/lib/libsendfile.so.1

32–bit shared object

/lib/64/libsendfile.so.1

64–bit shared object

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library/libc
Interface Stability
Obsolete Committed
MT-Level
MT-Safe

See Also

pvs(1), sendfile(3C), sendfilev(3C), intro(3), attributes(7)

History

This library was added to Oracle Solaris in the Solaris 8 7/01 (Update 5) release.

The historical contents of this library moved to the libc(3LIB) library in Solaris 11.4.