---
name: "al_ustr_equal"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_ustr_equal/3alleg5"
---

# al\_ustr\_equal(3alleg5)

Allegro 5 API

## NAME

al\_ustr\_equal - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  bool al_ustr_equal(const ALLEGRO_USTR *us1, const ALLEGRO_USTR *us2)
  ```

## DESCRIPTION

Return true iff the two strings are equal. This function is more efficient than al\_ustr\_compare(3alleg5) so is preferable if ordering is not important.

## SEE ALSO

al\_ustr\_compare(3alleg5)
