SDL/src/stdlib
Dav999-v 51f75b8b30 Fix fallback implementations of SDL_strchr and SDL_strrchr for '\0'
strchr and strrchr return a pointer to the first/last occurrence of a
character in a string, or NULL if the character is not found. According
to the C standard, the final null terminator is part of the string, and
it should thus be possible to get a pointer to the final null with
these functions. The fallback implementations of SDL_strchr and
SDL_strrchr would always return NULL if trying to find '\0', and this
commit fixes that.
2022-07-04 11:10:26 -04:00
..
SDL_crc32.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_getenv.c Windows GDK Support (#5830) 2022-06-27 10:19:39 -07:00
SDL_iconv.c Windows GDK Support (#5830) 2022-06-27 10:19:39 -07:00
SDL_malloc.c Xbox GDKX support (#5869) 2022-07-01 13:59:14 -07:00
SDL_memcpy.c stlib: Extract SDL_memcpy and SDL_memset to its own file respectively 2022-06-15 14:17:35 -07:00
SDL_memset.c stlib: Extract SDL_memcpy and SDL_memset to its own file respectively 2022-06-15 14:17:35 -07:00
SDL_qsort.c add SDL_bsearch 2022-04-26 04:03:25 +03:00
SDL_stdlib.c Don't define memcpy(), memset() when using static VC runtime. 2022-05-07 08:10:52 -07:00
SDL_string.c Fix fallback implementations of SDL_strchr and SDL_strrchr for '\0' 2022-07-04 11:10:26 -04:00
SDL_strtokr.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_vacopy.h Fixed building with Visual Studio 2013 2022-05-06 10:51:55 -07:00