MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / SDL_strupr

Function SDL_strupr

deps/SDL2/src/stdlib/SDL_string.c:640–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

638}
639
640char *
641SDL_strupr(char *string)
642{
643#if defined(HAVE__STRUPR)
644 return _strupr(string);
645#else
646 char *bufp = string;
647 while (*bufp) {
648 *bufp = SDL_toupper((unsigned char) *bufp);
649 ++bufp;
650 }
651 return string;
652#endif /* HAVE__STRUPR */
653}
654
655char *
656SDL_strlwr(char *string)

Callers 1

SDL_PrintStringFunction · 0.85

Calls 1

SDL_toupperFunction · 0.85

Tested by

no test coverage detected