---
name: "al_ustr_find_set"
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_find_set"
---

# al\_ustr\_find\_set(3)

Allegro 5 API

## NAME

al\_ustr\_find\_set - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  int al_ustr_find_set(const ALLEGRO_USTR *us, int start_pos,
     const ALLEGRO_USTR *accept)
  ```

## DESCRIPTION

This function finds the first code point in `us`, beginning from byte offset `start_pos`, that matches any code point in `accept`. Returns the position if a code point was found. Otherwise returns -1.

## SEE ALSO

[al\_ustr\_find\_set\_cstr(3)](/al_ustr_find_set_cstr/3.md), [al\_ustr\_find\_cset(3)](/al_ustr_find_cset/3.md)
