ludic/docs/language/builtins/fn-exit.md
Orkuncakilkaya 25f987e30d
All checks were successful
docs / build-and-deploy (push) Successful in 1s
docs: add Networking section + process/OS builtins (net_send, owner, is_server, serialize/apply, arg, exit, run, getenv, read_char, file_*)
Sourced from the compiler's confirmed builtin set and NETWORKING-DESIGN.md, so
the reference reflects the current language surface. 93 -> 104 symbols.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-29 16:39:29 +03:00

343 B

id name category kind tokens sig tip order
fn-exit exit builtins builtin exit exit(code) Exit the process immediately with a status code. 21

Terminate the process now with the given status code. Unlike quit(), which ends the game loop cleanly after the current frame, exit stops the program at once.