ref: c28f07b5840216c4e83e1d3b21d8a9ed7c41f8f9 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); }