Minor wording changes

This commit is contained in:
Michael Kerrisk 2004-12-13 15:39:11 +00:00
parent 1043e25b6f
commit 3ba7aed4ab
3 changed files with 16 additions and 11 deletions

View File

@ -40,7 +40,8 @@ _llseek \- reposition read/write file offset
.SH DESCRIPTION
The
.B _llseek
function repositions the offset of the file descriptor
function repositions the offset of the open file associated
with the file descriptor
.I fd
to
.I (offset_high<<32) | offset_low
@ -78,4 +79,5 @@ is invalid.
This function is Linux-specific, and should not be used in programs
intended to be portable.
.SH "SEE ALSO"
.BR lseek (2)
.BR lseek (2),
.BR lseek64 (3)

View File

@ -52,7 +52,8 @@ lseek \- reposition read/write file offset
.SH DESCRIPTION
The
.B lseek
function repositions the offset of the file descriptor
function repositions the offset of the open file associated with the
file descriptor
.I fildes
to the argument
.I offset
@ -150,4 +151,5 @@ subject to race conditions.
.BR dup (2),
.BR fork (2),
.BR open (2),
.BR fseek (3)
.BR fseek (3),
.BR lseek64 (3)

View File

@ -34,11 +34,12 @@ lseek64 \- reposition 64-bit read/write file offset
.SH DESCRIPTION
The
.BR lseek (2)
family functions reposition the offset of the file descriptor
family of functions reposition the offset of the open file associated
with the file descriptor
.I fd
to
.I offset
bytes relative to start, current position, or end-of-file of the file,
bytes relative to the start, current position, or end of the file,
when
.I whence
has the value
@ -69,8 +70,8 @@ Prototype:
The library routine
.I lseek()
uses the type
.B off_t
which is a 32-bit signed type on 32-bit architectures, unless one
.BR off_t .
This is a 32-bit signed type on 32-bit architectures, unless one
compiles with
.nf
.sp
@ -107,7 +108,7 @@ is available only when one compiles with
The function
.I lseek64()
.\" in glibc 2.0.94, not in 2.0.6
is available since glibc 2.1, and is defined to be an alias of
is available since glibc 2.1, and is defined to be an alias for
.IR llseek() .
.SS llseek
@ -136,14 +137,14 @@ When users complained about data loss caused by a miscompilation of
glibc 2.1.3 added the link-time warning
.sp
.in +5n
"the `llseek' function may be dangerous; use `lseek64' instead."
"the \`llseek\' function may be dangerous; use \`lseek64\' instead."
.in -5b
.sp
This makes this function unusable if one desires a warning-free
compilation.
.SS _llseek
All the above functions are implemented in terms of the system call.
All the above functions are implemented in terms of this system call.
The prototype is:
.nf
.sp