Implement stdio buffering #36

Merged
apio merged 7 commits from stdio-buffers into main 2023-07-22 09:39:02 +00:00
Showing only changes of commit cfb0ead2d9 - Show all commits

View File

@ -1,3 +1,4 @@
#include <stdio.h>
#include <stdlib.h>
typedef void (*atexit_func_t)(void);
@ -23,6 +24,8 @@ extern "C"
{
while (atexit_registered_funcs--) { atexit_funcs[atexit_registered_funcs](); }
fflush(NULL);
_Exit(status);
}
}