std :: sys
#include <std/sys.h> source ยท definition
#include <std/sys.h>
int sys_atexit(fn void() func)
Register a function to be called at normal process exit. Returns 0 on success, non-zero if the registration limit is exceeded.