diff options
Diffstat (limited to 'usr/src/man/man2/lseek.2')
-rw-r--r-- | usr/src/man/man2/lseek.2 | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/usr/src/man/man2/lseek.2 b/usr/src/man/man2/lseek.2 index 0f8dedf809..69b3b65abb 100644 --- a/usr/src/man/man2/lseek.2 +++ b/usr/src/man/man2/lseek.2 @@ -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 lseek 2 "4 May 2005" "SunOS 5.11" "System Calls" +.TH LSEEK 2 "May 4, 2005" .SH NAME lseek \- move read/write file pointer .SH SYNOPSIS @@ -109,23 +109,19 @@ error. The \fBlseek()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 13n -.rt The \fIfildes\fR argument is not an open file descriptor. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 13n -.rt The \fIwhence\fR argument is not \fBSEEK_SET\fR, \fBSEEK_CUR\fR, or \fBSEEK_END\fR; or the \fIfildes\fR argument is not a remote file descriptor and the resulting file pointer would be negative. @@ -133,36 +129,30 @@ and the resulting file pointer would be negative. .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 13n -.rt For \fBSEEK_DATA\fR, there are no more data regions past the supplied offset. For \fBSEEK_HOLE\fR, there are no more holes past the supplied offset. .RE .sp .ne 2 -.mk .na \fB\fBEOVERFLOW\fR\fR .ad .RS 13n -.rt The resulting file offset would be a value which cannot be represented correctly in an object of type \fBoff_t\fR for regular files. .RE .sp .ne 2 -.mk .na \fB\fBESPIPE\fR\fR .ad .RS 13n -.rt The \fIfildes\fR argument is associated with a pipe, a FIFO, or a socket. .RE @@ -185,15 +175,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 StabilityStandard +Interface Stability Standard _ -MT-LevelAsync-Signal-Safe +MT-Level Async-Signal-Safe .TE .SH SEE ALSO |