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