October 2018
Beginner
794 pages
19h 23m
English
To clearly understand the effect of fork on open files, we need to slightly digress and briefly understand some background information.
A Unix/Linux process, upon startup, will by default be assigned three open files; we've discussed these basic points earlier in the book. For convenience, the three open files are called the stdin, stdout, and stderr of the process; they auto-default to the keyboard, the monitor, and, again, the monitor for stdin, stdout, and stderr respectively. Not only that, real applications will ...
Read now
Unlock full access