Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_isalpha - Query if a character is alphabetic (a letter).

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                                     SDL_isalpha(3)

Description

WARNING  :  Regardless of system locale, this will only treat ASCII values for English 'a-z' and 'A-Z' as
       true.

Function Parameters

x      character value to check.

Header File

       Defined in SDL3/SDL_stdinc.h

Name

       SDL_isalpha - Query if a character is alphabetic (a letter).

Return Value

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

Synopsis

#include"SDL3/SDL.h"intSDL_isalpha(intx);

Thread Safety

       It is safe to call this function from any thread.

See Also