---
name: "al_ustr_rtrim_ws"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_ustr_rtrim_ws"
---

# al\_ustr\_rtrim\_ws(3)

Allegro 5 API

## NAME

al\_ustr\_rtrim\_ws - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  bool al_ustr_rtrim_ws(ALLEGRO_USTR *us)
  ```

## DESCRIPTION

Remove trailing (“right”) whitespace characters from a string, as defined by the C function `isspace()`.

Returns true on success, or false on error.

## SEE ALSO

[al\_ustr\_ltrim\_ws(3)](/al_ustr_ltrim_ws/3.md), [al\_ustr\_trim\_ws(3)](/al_ustr_trim_ws/3.md)
