June 2003
Intermediate to advanced
912 pages
21h 37m
English
UNIX uses a uniform device interface, through file descriptors, that allows the same I/O calls to be used for terminals, disks, tapes, audio and even network communication. This chapter explores the five functions that form the basis for UNIX device-independent I/O. The chapter also examines I/O from multiple sources, blocking I/O with timeouts, inheritance of file descriptors and redirection. The code carefully handles errors and interruption by signals.
A peripheral device is piece of hardware accessed by a computer ...
Read now
Unlock full access