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