SDL_isspace(3)

✨ NAME ✨

okay so bestie, this is the manual page for SDL_isspace(3) from the SDL3 FUNCTIONS crew. It's giving β€œcharacter classification era,” and the whole point is: report if a character is whitespace. πŸ’…

SDL_isspace β€” report if a character is whitespace. Not me lowkey obsessed with character classes πŸ’€


🌸 SYNOPSIS 🌸

#include <SDL3/SDL_stdinc.h>

int SDL_isspace(int x);

πŸ’– DESCRIPTION πŸ’–

⚠️ WARNING, bestie: regardless of system locale, this will only treat the following ASCII values as true:
  • space (0x20) 🫧
  • tab (0x09) ➑️
  • newline (0x0A) ⬇️
  • vertical tab (0x0B) ↕️
  • form feed (0x0C) πŸ“„
  • return (0x0D) ↩️

πŸŽ€ FUNCTION PARAMETERS πŸŽ€

  • x β€” character value to check. πŸ‘€

⭐ RETURN VALUE ⭐

Returns non-zero if x falls within the character class, zero otherwise. fr fr.


🧚 THREAD SAFETY 🧚

It is safe to call this function from any thread. no cap, you can do it from literally any thread. πŸ’―


πŸ¦‹ AVAILABILITY πŸ¦‹

This function is available since SDL 3.2.0. periodt.


and that’s the whole vibe, bestie πŸ’– this page is from Simple Directmedia Layer, version SDL 3.4.18, and the date/tag on it is SDL_isspace(3) πŸŽ€

πŸ“¦ where this page comes from