1. BASIC CONCEPTS AND TERMINOLOGY 1.1 The file1.2 The process1.3 System calls and library subroutines 2. THE FILE 2.1 UNIX file access primitives2.2 Standard input, standard output and standard error2.
3 The standard I/O library: a look ahead2.4 The erno variable and system calls 3. THE FILE IN CONTEXT. 3.1 Files in a multi-user environment3.2 Files with multiple names / Obtaining file information: stat and fstat 4. DIRECTORIES, FILE SYSTEMS AND SPECIAL FILES 4.1.
Introduction4.2. Directories: the user view4.3. The implementation of a directory4.4. Programming with directories4.5.
UNIX file systems4.6. UNIX device files 5. THE PROCESS 5.1. Review of the notion of a process5.2. Creating processes5.
3. Running new programs with exec5.4. Using exec and form together.5.5. Inherited data and file descriptors5.6.
Terminating processes with the exit system call5.7. Synchronising processes5.8. Zombies and premature exits5.9. smallsh: a command processor5.10.
Process attributes 6. SIGNALS AND SIGNAL HANDLING 6.1. Introduction6.2. Signal handling6.3. Signal blocking6.
4. Sending signals 7. INTERPROCESS COMMUNICATION USING PIPES 7.1. Pipes7.2. FIFOs or named pipes 8. ADVANCED INTER-PROCESS COMMUNICATIONS 8.
1. Introduction8.2. Record locking8.3. Advanced IPC facilities 9. THE TERMINAL 9.1.
Introduction9.2. The UNIX terminal9.3. The programmers view9.4. The connect example 10. AN INTRODUCTION TO UNIX NETWORKING 10.
1. Introduction10.2. Overview10.3. Addressing a process10.4. Socket interface10.
5. Programming the connection oriented model10.6. Programming the connectionless oriented model10.7. Transport level interface 11. THE STANDARD I/O LIBRARY 11.1.
Introduction11.2. File structures11.3. Opening and closing streams: fopen and fclose11.4. Single-character I/O: getc and putc11.5.
Pushing characters back onto a stream: ungetc11.6. Standard input, standard output and standard error11.7. Standard I/O status routines11.8. Input and output by line11.9.
Binary input and output: fread and fwrite11.10. Random file access: fseek, rewind, ftell11.11. Formatted output: the printf family11.12. Formatted input: the scanf family11.13.
Running programs with the Standard I/O Library11.14. Miscellaneous calls 12. MICELLANEOUS SYSTEM CALLS AND LIBRARY ROUTINES 12.1. Introduction.12.2.
Dynamic memory management.12.3. Memory mapped i/O12.4. Time12.5. String and character manipulation12.
6. A selection of other useful functions Appendices.