From 22603b1d5c09af73563f2c604a75fe58e6c714fc Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 1 May 2014 07:19:37 +0200 Subject: [PATCH] lseek.2: Add reference to open(2) for discussion of file descriptors and OFDs Signed-off-by: Michael Kerrisk --- man2/lseek.2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/man2/lseek.2 b/man2/lseek.2 index dee4a47fe..3d0f97fd0 100644 --- a/man2/lseek.2 +++ b/man2/lseek.2 @@ -44,7 +44,7 @@ .\" Modified 2003-08-21 by Andries Brouwer .\" 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 lseek \- reposition read/write file offset .SH SYNOPSIS @@ -225,6 +225,11 @@ FreeBSD, and DragonFly BSD; they are proposed for inclusion in the next POSIX revision (Issue 8). .\" FIXME . Review http://austingroupbugs.net/view.php?id=415 in the future .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 devices must support .BR lseek ().