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