Forráskód Böngészése

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot 1 hete
szülő
commit
2e18cf8d09
1 módosított fájl, 5 hozzáadás és 0 törlés
  1. 5 0
      include/SDL3/SDL_stdinc.h

+ 5 - 0
include/SDL3/SDL_stdinc.h

@@ -1816,6 +1816,11 @@ extern SDL_DECLSPEC const char * SDLCALL SDL_getenv(const char *name);
  * This function bypasses SDL's cached copy of the environment and is not
  * thread-safe.
  *
+ * On some platforms, this may make case-insensitive matches, while other
+ * platforms are case-sensitive. It is best to be precise with strings used
+ * for queries through this interface. SDL_getenv is always case-sensitive,
+ * however.
+ *
  * \param name the name of the variable to get.
  * \returns a pointer to the value of the variable or NULL if it can't be
  *          found.