diff options
Diffstat (limited to 'usr/src/man/man3ext/sendfilev.3ext')
-rw-r--r-- | usr/src/man/man3ext/sendfilev.3ext | 43 |
1 files changed, 7 insertions, 36 deletions
diff --git a/usr/src/man/man3ext/sendfilev.3ext b/usr/src/man/man3ext/sendfilev.3ext index 78e1343172..fe2707bc85 100644 --- a/usr/src/man/man3ext/sendfilev.3ext +++ b/usr/src/man/man3ext/sendfilev.3ext @@ -3,7 +3,7 @@ .\" 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] -.TH sendfilev 3EXT "25 Feb 2009" "SunOS 5.11" "Extended Library Functions" +.TH SENDFILEV 3EXT "Feb 25, 2009" .SH NAME sendfilev \- send a file .SH SYNOPSIS @@ -22,12 +22,10 @@ sendfilev \- send a file The \fBsendfilev()\fR function supports the following parameters: .sp .ne 2 -.mk .na \fB\fIfildes\fR\fR .ad .RS 11n -.rt A file descriptor to a regular file or to a \fBAF_NCA\fR, \fBAF_INET\fR, or \fBAF_INET6\fR family type \fBSOCK_STREAM\fR socket that is open for writing. For \fBAF_NCA\fR, the protocol type should be zero. @@ -35,35 +33,29 @@ For \fBAF_NCA\fR, the protocol type should be zero. .sp .ne 2 -.mk .na \fB\fIvec\fR\fR .ad .RS 11n -.rt An array of \fBSENDFILEVEC_T\fR, as defined in the \fBsendfilevec\fR structure above. .RE .sp .ne 2 -.mk .na \fB\fIsfvcnt\fR\fR .ad .RS 11n -.rt The number of members in \fIvec\fR. .RE .sp .ne 2 -.mk .na \fB\fIxferred\fR\fR .ad .RS 11n -.rt The total number of bytes written to \fBout_fd\fR. .RE @@ -128,35 +120,29 @@ error vector. .SH ERRORS .sp .ne 2 -.mk .na \fB\fBEACCES\fR\fR .ad .RS 16n -.rt The process does not have appropriate privileges or one of the files pointed by \fBsfv_fd\fR does not have appropriate permissions. .RE .sp .ne 2 -.mk .na \fB\fBEAFNOSUPPORT\fR\fR .ad .RS 16n -.rt The implementation does not support the specified address family for socket. .RE .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 16n -.rt Mandatory file or record locking is set on either the file descriptor or output file descriptor if it points at regular files. \fBO_NDELAY\fR or \fBO_NONBLOCK\fR is set, and there is a blocking record lock. An attempt has @@ -166,24 +152,20 @@ or the \fBO_NONBLOCK\fR flag set. .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 16n -.rt The \fIfildes\fR argument is not a valid descriptor open for writing or an \fBsfv_fd\fR is invalid or not open for reading. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 16n -.rt The \fIvec\fR argument points to an illegal address. .sp The \fIxferred\fR argument points to an illegal address. @@ -191,23 +173,19 @@ The \fIxferred\fR argument points to an illegal address. .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 16n -.rt A signal was caught during the write operation and no data was transferred. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 16n -.rt The \fIsfvcnt\fR argument was less than or equal to \fB0\fR. One of the \fBsfv_len\fR values in \fIvec\fR array was less than or equal to \fB0\fR, or greater than the file size. An \fBsfv_fd\fR is not seekable. @@ -217,34 +195,28 @@ Fewer bytes were transferred than were requested. .sp .ne 2 -.mk .na \fB\fBEIO\fR\fR .ad .RS 16n -.rt An I/O error occurred while accessing the file system. .RE .sp .ne 2 -.mk .na \fB\fBEPIPE\fR\fR .ad .RS 16n -.rt The \fIfildes\fR argument is a socket that has been shut down for writing. .RE .sp .ne 2 -.mk .na \fB\fBEPROTOTYPE\fR\fR .ad .RS 16n -.rt The socket type is not supported. .RE @@ -300,15 +272,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO |