mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-07 07:00:48 +00:00
The "x" mode for `fopen()` (open file only if it doesn't exist) used to
be a glibc-exclusive extension, but was later standardized in C11, and
is now also implemented as part of every other widely-used libc:
* musl: https://git.musl-libc.org/cgit/musl/tree/src/stdio/__fmodeflags.c?id=0ccaf0572e9cccda2cced0f7ee659af4c1c6679a
* Android Bionic / OpenBSD: https://android.googlesource.com/platform/bionic/+/731631f300090436d7f5df80d50b6275c8c60a93/libc/upstream-openbsd/lib/libc/stdio/flags.c#86
* Apple / FreeBSD:
|
||
|---|---|---|
| .. | ||
| generic | ||
| io_uring | ||
| n3ds | ||
| windows | ||
| SDL_asyncio.c | ||
| SDL_asyncio_c.h | ||
| SDL_iostream.c | ||
| SDL_iostream_c.h | ||
| SDL_sysasyncio.h | ||