← Linux & ToolsLINUX & TOOLS 2.5
Linux System Programming Essentials
Not started yet — the syscall layer where C becomes systems programming: file and process syscalls, signals, IPC, and POSIX threads. The largest topic in Phase 2 at 24 bytes across 5 chapters.
Planned chapters
- A — File Syscalls. open/read/write/close, fd vs. FILE*, lseek, stat, dup/dup2.
- B — Process Syscalls. fork, the exec family, wait/waitpid and the zombie-vs-orphan distinction, and the full "what happens when I run
ls" narrative. - C — Signals. The async-notification model, handlers, and the signals that can never be caught (SIGKILL/SIGSTOP).
- D — IPC One-Pass. Pipes, FIFOs, shared memory, message queues, and when to reach for which.
- E — Threads (userspace). pthread_create/join, process vs. thread memory sharing, mutexes, a race-condition demo and fix, and thread-safe vs. reentrant code.
Not yet catalogued — check back once this topic is underway.
Notes from readers
Comments — via GitHub