Process and Signal API Reference¶
This section collects process and signal APIs used by event-loop, IPC, and graceful shutdown examples.
APIs¶
| API | Purpose |
|---|---|
fork() |
Create a child process. |
sigaction() |
Install a signal handler. |
sigprocmask() |
Block or unblock signals. |
kill() |
Send a signal to a process. |
waitpid() |
Reap child processes and inspect exit status. |
Learning Context¶
These APIs are often combined with:
signalfd()for event-loop based signal handling- UNIX domain sockets for parent-child IPC
- shared memory examples
- graceful shutdown logic