lseek.2: Add reference to open(2) for discussion of file descriptors and OFDs

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-05-01 07:19:37 +02:00
parent 6451570257
commit 22603b1d5c
1 changed files with 6 additions and 1 deletions

View File

@ -44,7 +44,7 @@
.\" Modified 2003-08-21 by Andries Brouwer <aeb@cwi.nl> .\" Modified 2003-08-21 by Andries Brouwer <aeb@cwi.nl>
.\" 2011-09-18, mtk, Added SEEK_DATA + SEEK_HOLE .\" 2011-09-18, mtk, Added SEEK_DATA + SEEK_HOLE
.\" .\"
.TH LSEEK 2 2014-01-22 "Linux" "Linux Programmer's Manual" .TH LSEEK 2 2014-05-01 "Linux" "Linux Programmer's Manual"
.SH NAME .SH NAME
lseek \- reposition read/write file offset lseek \- reposition read/write file offset
.SH SYNOPSIS .SH SYNOPSIS
@ -225,6 +225,11 @@ FreeBSD, and DragonFly BSD;
they are proposed for inclusion in the next POSIX revision (Issue 8). they are proposed for inclusion in the next POSIX revision (Issue 8).
.\" FIXME . Review http://austingroupbugs.net/view.php?id=415 in the future .\" FIXME . Review http://austingroupbugs.net/view.php?id=415 in the future
.SH NOTES .SH NOTES
See
.BR open (2)
for a discussion of the relationship between file descriptors,
open file descriptions, and files.
Some devices are incapable of seeking and POSIX does not specify which Some devices are incapable of seeking and POSIX does not specify which
devices must support devices must support
.BR lseek (). .BR lseek ().