[libc]new style exit library