Scroll to navigation

ustrupr(3alleg4) Allegro manual ustrupr(3alleg4)

NAME

ustrupr - Replaces all letters with upper case. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

char *ustrupr(char *s);

DESCRIPTION

This function replaces all lower case letters in `s' with upper case letters. Example:


char buffer[] = "lower case string";
allegro_message(ustrupr(buffer));

RETURN VALUE

The return value is the value of `s'.

SEE ALSO

uconvert(3alleg4), utolower(3alleg4), ustrlwr(3alleg4)

version 4.4.3 Allegro