SDL_isdigit(3)
| SDL_isdigit(3) | SDL3 FUNCTIONS | SDL_isdigit(3) |
NAME
SDL_isdigit - Report if a character is a numeric digit.
SYNOPSIS
#include <SDL3/SDL_stdinc.h>
int SDL_isdigit(int x);
DESCRIPTION
WARNING: Regardless of system locale, this will only treat ASCII values '0' (0x30) through '9' (0x39), as true.
FUNCTION PARAMETERS
- x
- character value to check.
RETURN VALUE
Returns non-zero if x falls within the character class, zero otherwise.
THREAD SAFETY
It is safe to call this function from any thread.
AVAILABILITY
This function is available since SDL 3.2.0.
| SDL 3.4.12 | Simple Directmedia Layer |
