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