3 ms·
I am making a personal C standard library of sorts, and I made the decision to only use the low-level I/O routines on each platform and implement buffering and
by gavinhoward 4y ago
I am making a personal C standard library of sorts, and I made the decision to only use the low-level I/O routines on each platform and implement buffering and file semantics myself. I did this to make it easier to have an implementation that works the same on POSIX and Windows. (I wanted to use the native CreateFile(), WriteFile(), etc. on Windows.)
This article justifies that decision in a way I never thought would happen. I didn't think I would have other reasons for doing so. Now I do.