alpinestudios / oogabooga

ooga booga
Other
223 stars 247 forks source link

Add support for `fopen()`'s modes. #22

Closed g0mb4 closed 3 months ago

g0mb4 commented 3 months ago

What feature/bugfix does this PR implement? Add support for modes of fopen().

Why do we need this? POSIX compatibility is really important for a C standard IMO.

Describe at least one specific and practical problem this solves for people developing a game Compiling old C programs / use existing libraries.

Does this add complexity/friction for people making games? If so, how do you justify that? I hope not.

asbott commented 3 months ago

I'll merge this but to be clear, that fopen was just to port some stb_vorbis code to use oogabooga file io