Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_iscntrl - Report if a character is a control character.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                                     SDL_iscntrl(3)

Description

WARNING:  Regardless  of  system  locale,  this will only treat ASCII values 0 through 0x1F, and 0x7F, as
       true.

Function Parameters

x      character value to check.

Name

       SDL_iscntrl - Report if a character is a control character.

Return Value

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

Synopsis

#include<SDL3/SDL_stdinc.h>intSDL_iscntrl(intx);

Thread Safety

       It is safe to call this function from any thread.

See Also