logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_ispunct - Report if a character is a punctuation mark.

Availability

       This function is available since SDL 3.2.0.

Description

WARNING : Regardless of system locale, this is equivalent to ((SDL_isgraph(x))&&(!SDL_isalnum(x))) .

Function Parameters

x      character value to check.

Header File

       Defined in SDL3/SDL_stdinc.h

Name

       SDL_ispunct - Report if a character is a punctuation mark.

Return Value

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

See Also

(3), SDL_isgraph(3), (3), SDL_isalnum(3)

Simple Directmedia Layer                           SDL 3.2.10                                     SDL_ispunct(3)

Synopsis

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

Thread Safety

       It is safe to call this function from any thread.