---
name: "al_ustr_equal"
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_equal"
---

# al\_ustr\_equal(3)

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(3)](/al_ustr_compare/3.md) so is preferable if ordering is not important.

## SEE ALSO

[al\_ustr\_compare(3)](/al_ustr_compare/3.md)
