Files
SDL/include/SDL3
nmlgc 8df057fafc iostream: Properly support the "x" mode for SDL_IOFromFile()
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: 731631f300/libc/upstream-openbsd/lib/libc/stdio/flags.c (86)
	* Apple / FreeBSD: 63976b830a/stdio/FreeBSD/flags.c (L91-L92)

As a result, "x" has already been working on all our automatically
tested platforms that implement `SDL_IOFromFile()` via `fopen()`. So
all we'd be missing for proper support is a Windows implementation
using `CREATE_NEW`, and the documentation that this mode exists and is
intended to work.
2025-10-06 13:23:42 -07:00
..
2025-01-21 13:12:25 -05:00
2025-08-27 13:46:21 +00:00
2025-01-21 13:12:25 -05:00
2025-01-21 13:12:25 -05:00
2025-09-15 20:55:52 +00:00
2025-07-28 18:58:19 +00:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-01-21 13:12:25 -05:00
2025-07-30 08:06:30 +00:00
2025-01-01 07:45:52 -08:00
2025-01-21 13:12:25 -05:00
2025-09-29 19:44:11 +00:00
2025-09-02 12:52:53 +02:00
2025-10-02 17:02:50 +00:00
2025-05-28 15:57:04 -07:00
2025-09-22 15:34:13 +00:00
2025-01-21 13:12:25 -05:00
2025-01-21 13:12:25 -05:00
2025-01-21 13:12:25 -05:00
2025-09-20 22:39:37 +00:00
2025-01-01 07:45:52 -08:00
2025-09-04 23:54:17 +00:00
2025-01-21 13:12:25 -05:00
2025-01-21 13:12:25 -05:00
2025-01-21 13:12:25 -05:00
2025-06-05 16:02:05 +00:00
2025-03-13 10:08:32 -04:00
2024-08-29 17:33:52 -07:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-07-30 03:30:05 +00:00
2025-01-21 13:12:25 -05:00
2025-08-21 08:40:57 +03:00
2025-05-12 16:18:27 +00:00
2025-07-24 15:52:42 +00:00
2025-08-10 05:08:26 +00:00
2025-10-06 14:32:26 +00:00
2025-01-21 13:12:25 -05:00
2025-07-27 19:58:13 -07:00
2025-05-19 20:23:53 +00:00
2025-09-29 05:11:33 +00:00
2025-05-07 05:54:39 +00:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-01-01 07:45:52 -08:00
2025-01-21 13:12:25 -05:00
2025-09-22 07:23:49 -07:00
2025-01-21 13:12:25 -05:00
2025-08-04 10:42:43 -07:00
2025-05-31 21:11:00 +00:00
2025-10-02 17:02:50 +00:00
2025-03-01 19:31:00 -08:00