Liste des Groupes | Revenir à cl c |
Why do you insist on referring to "file descriptors"? That's a specific
term with a specific meaning: a small integer value used in POSIX I/O
(not in standard C).
3.141 File Descriptor
A per-process unique, non-negative integer used to identify an open
file for the purpose of file access. The values 0, 1, and 2 have
special meaning and conventional uses, and are referred to as standard
input, standard output, and standard error, respectively. Programs
usually take their input from standard input, and write output on
standard output. Diagnostic messages are usually written on standard
error. The value of a newly-created file descriptor is from zero to
{OPEN_MAX}-1. A file descriptor can have a value greater than or equal
to {OPEN_MAX} if the value of {OPEN_MAX} has decreased (see sysconf)
since the file descriptor was opened. File descriptors may also be
used to implement message catalog descriptors and directory streams;
see also 3.241 Open File Description.
Les messages affichés proviennent d'usenet.