exit() should flush/close all opened streams
NewbiZ opened this issue · comments
This means
- We need to keep track of all opened streams in
fopen
/fclose
(array ofFOPEN_MAX
or linked list like musl?) - call
fflush(NULL)
/fclose(NULL)
Reimplementation in ANSI C of Unix v6 + POSIX compliance + VFS + ulibc + ACPI
NewbiZ opened this issue · comments
This means
fopen
/fclose
(array of FOPEN_MAX
or linked list like musl?)fflush(NULL)
/fclose(NULL)