ref: 5b2bc75b8974f4fa9be720866d60b2e89f4f0a9f dir: /sys/src/libc/port/exits.c/
#include <u.h> #include <libc.h> void (*_onexit)(void); _Noreturn void exits(char *s) { if(_onexit != nil) (*_onexit)(); _exits(s); }