---
name: "ustrupr"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/ustrupr"
---

# ustrupr(3alleg)

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**(3alleg)](/uconvert/3alleg.md), [**utolower**(3alleg)](/utolower/3alleg.md), [**ustrlwr**(3alleg)](/ustrlwr/3alleg.md)
