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_toupper - Convert low-ASCII English letters to uppercase.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                                     SDL_toupper(3)

Description

WARNING : Regardless of system locale, this will only convert ASCII values 'a' through 'z' to uppercase.

       This  function  returns the uppercase equivalent of x . If a character cannot be converted, or is already
       uppercase, this function returns x .

Function Parameters

x      character value to check.

Header File

       Defined in SDL3/SDL_stdinc.h

Name

       SDL_toupper - Convert low-ASCII English letters to uppercase.

Return Value

       Returns capitalized version of x, or x if no conversion available.

Synopsis

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

Thread Safety

       It is safe to call this function from any thread.

See Also