mirror of https://github.com/mkerrisk/man-pages
Minor wording changes
This commit is contained in:
parent
1043e25b6f
commit
3ba7aed4ab
|
@ -40,7 +40,8 @@ _llseek \- reposition read/write file offset
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.B _llseek
|
.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
|
.I fd
|
||||||
to
|
to
|
||||||
.I (offset_high<<32) | offset_low
|
.I (offset_high<<32) | offset_low
|
||||||
|
@ -78,4 +79,5 @@ is invalid.
|
||||||
This function is Linux-specific, and should not be used in programs
|
This function is Linux-specific, and should not be used in programs
|
||||||
intended to be portable.
|
intended to be portable.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR lseek (2)
|
.BR lseek (2),
|
||||||
|
.BR lseek64 (3)
|
||||||
|
|
|
@ -52,7 +52,8 @@ lseek \- reposition read/write file offset
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.B lseek
|
.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
|
.I fildes
|
||||||
to the argument
|
to the argument
|
||||||
.I offset
|
.I offset
|
||||||
|
@ -150,4 +151,5 @@ subject to race conditions.
|
||||||
.BR dup (2),
|
.BR dup (2),
|
||||||
.BR fork (2),
|
.BR fork (2),
|
||||||
.BR open (2),
|
.BR open (2),
|
||||||
.BR fseek (3)
|
.BR fseek (3),
|
||||||
|
.BR lseek64 (3)
|
||||||
|
|
|
@ -34,11 +34,12 @@ lseek64 \- reposition 64-bit read/write file offset
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR lseek (2)
|
.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
|
.I fd
|
||||||
to
|
to
|
||||||
.I offset
|
.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
|
when
|
||||||
.I whence
|
.I whence
|
||||||
has the value
|
has the value
|
||||||
|
@ -69,8 +70,8 @@ Prototype:
|
||||||
The library routine
|
The library routine
|
||||||
.I lseek()
|
.I lseek()
|
||||||
uses the type
|
uses the type
|
||||||
.B off_t
|
.BR off_t .
|
||||||
which is a 32-bit signed type on 32-bit architectures, unless one
|
This is a 32-bit signed type on 32-bit architectures, unless one
|
||||||
compiles with
|
compiles with
|
||||||
.nf
|
.nf
|
||||||
.sp
|
.sp
|
||||||
|
@ -107,7 +108,7 @@ is available only when one compiles with
|
||||||
The function
|
The function
|
||||||
.I lseek64()
|
.I lseek64()
|
||||||
.\" in glibc 2.0.94, not in 2.0.6
|
.\" 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() .
|
.IR llseek() .
|
||||||
|
|
||||||
.SS 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
|
glibc 2.1.3 added the link-time warning
|
||||||
.sp
|
.sp
|
||||||
.in +5n
|
.in +5n
|
||||||
"the `llseek' function may be dangerous; use `lseek64' instead."
|
"the \`llseek\' function may be dangerous; use \`lseek64\' instead."
|
||||||
.in -5b
|
.in -5b
|
||||||
.sp
|
.sp
|
||||||
This makes this function unusable if one desires a warning-free
|
This makes this function unusable if one desires a warning-free
|
||||||
compilation.
|
compilation.
|
||||||
|
|
||||||
.SS _llseek
|
.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:
|
The prototype is:
|
||||||
.nf
|
.nf
|
||||||
.sp
|
.sp
|
||||||
|
|
Loading…
Reference in New Issue