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