xref: /illumos-gate/usr/src/man/man3lib/libsendfile.3lib (revision 66582b606a8194f7f3ba5b3a3a6dca5b0d346361)
te
Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
LIBSENDFILE 3LIB "Mar 24, 2004"
NAME
libsendfile - sendfile library
SYNOPSIS

cc [ flag... ] file... -lsendfile [ library... ]
#include <sys/sendfile.h>
DESCRIPTION

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.

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

shared object

/lib/64/libsendfile.so.1

64-bit shared object

ATTRIBUTES

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

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Evolving
MT-Level MT-Safe
SEE ALSO

pvs(1), Intro(3), sendfile(3EXT), sendfilev(3EXT), attributes(5)