April 2003
Intermediate to advanced
576 pages
15h 13m
English
The system-supplied standard C library also provides functions for input and output from file systems. Linking methods and calling conventions are similar to those for display and keyboard I/O, and are set forth in Table 9-2.
Table 9-2 presents the function interfaces from a register-level programming perspective, rather than their C data types, using the calling conventions of Unix and Linux. When a function returns a useful value in register ret0, we include a brief description of it.
With standard input and output, no special preparations are necessary because the environment in which a process runs already has stdin and stdout predefined and ready to accept any I/O. File I/O, on the other hand, ...