System Calls
System Calls
the kernel file table, but the kernel contains at most one entry per file in the in-core inode table
The first three user file descriptors (0, 1, and 2) are called the standard input, standard output,
and standard error file descriptors.
Processes on UNIX systems conventionally use the standard input descriptor to read input data, the
standard output descriptor to write output data, and the standard error descriptor to write error data
(messages) .