std1.0.0-beta-7 SafeC docs

std :: sys

Function std::sys_atexit

#include <std/sys.h> source ยท definition

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.