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