---
name: "ustrupr"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/ustrupr/3alleg4"
---

# ustrupr(3alleg4)

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

## 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)
