open.2: Note some of the various synonyms for "open file description"

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-22 06:21:16 +02:00
parent 88b11b50cb
commit 61b12e2b63
1 changed files with 7 additions and 2 deletions

View File

@ -113,12 +113,17 @@ A call to
creates a new
.IR "open file description" ,
an entry in the system-wide table of open files.
This entry records the file offset and the file status flags
(This object is variously also called an "open file object",
a "file handle", an "open file table entry",
or\(emin kernel-developer parlance\(ema
.IR "struct file" .
The term "open file description" is used by POSIX.)
The open file description records the file offset and the file status flags
(modifiable via the
.BR fcntl (2)
.B F_SETFL
operation).
A file descriptor is a reference to one of these entries;
A file descriptor is a reference to an open file description;
this reference is unaffected if
.I pathname
is subsequently removed or modified to refer to a different file.