
Livro digital
Título:
UNIX Application and System Programming, lecture notes
Autor:
Stewart Weiss
Categoria:
Tecnologia > DevOps
Doador:
Raffaello D. N.
Sinopse:
Most UNIX programming books race to cover the API surface — here is fork(), here is exec(), here is a socket — without ever explaining how these pieces form a coherent system. Stewart Weiss takes the opposite approach. These lecture notes, developed over years of teaching at Hunter College, build UNIX system programming from first principles: the kernel interface, the system call mechanism, and the mental model that separates user space from kernel space before a single line of code is written.
Each chapter targets a specific subsystem and stays with it until the reader truly understands both the interface and the rationale. The treatment progresses from file I/O fundamentals through the file system hierarchy, terminal control, and signal handling, then escalates to timers, asynchronous I/O, process architecture, and interprocess communication. The final chapter on POSIX threads closes the arc — from single-threaded console applications to concurrent programs that manage shared resources with mutexes and condition variables.
What distinguishes these notes from a reference manual is the pedagogical patience: concepts are introduced with complete, compilable examples, and every system call is presented alongside its error conditions and portability caveats. At 517 pages across nine chapters, the depth rivals many commercial textbooks. For students and self-taught programmers who want to understand what happens between their C code and the hardware, this is a rigorous, practical foundation freely available under Creative Commons.