POSIX systems programming
This part of the C course leaves the standard library for the POSIX calls that a program on Linux uses to talk to the system: processes, signals, pipes, sockets, threads and atomics. It builds a TCP server that answers more than one client.
67
Processes
fork, exec, wait, exit status, file descriptors
Open
68
Signals
signal handlers, sigaction, SIGINT, SIGTERM, async safety
Open
69
Pipes
pipe, dup2, FIFOs, producer and consumer
Open
70
Sockets
addresses, socket, connect, bind, listen, accept
Open
71
A TCP server
poll, multiple clients, HTTP request, response
Open
72
POSIX threads
pthread_create, join, detached threads, arguments
Open
73
Mutexes and condition variables
mutex, condition variable, producer and consumer
Open
74
Atomics and the memory model
stdatomic, memory_order, races, lock-free counter
Open
75
Command-line arguments
argc, argv, getopt, options and operands
Open