Files
developer-roadmap/roadmaps/c/content/exit-codes@nk5RkhCSxdZL0RplXmp7-.md
T
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

838 B

Exit Codes

An exit code is a small integer that a program returns to the operating system when it finishes, indicating whether it succeeded or failed, and if it failed, sometimes why. By convention, an exit code of 0 means success and any nonzero value indicates an error, with EXIT_SUCCESS and EXIT_FAILURE from <stdlib.h> providing portable constants for these. Exit codes are commonly checked by shell scripts and other programs that call a C program and need to know whether it completed successfully.

Visit the following resources to learn more: