---
name: "al_do_multiline_ustr"
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_do_multiline_ustr"
---

# al\_do\_multiline\_ustr(3)

Allegro 5 API

## NAME

al\_do\_multiline\_ustr - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_font.h>
  void al_do_multiline_ustr(const ALLEGRO_FONT *font, float max_width,
     const ALLEGRO_USTR *ustr,
     bool (*cb)(int line_num, const ALLEGRO_USTR * line, void *extra),
     void *extra)
  ```

## DESCRIPTION

Like [al\_do\_multiline\_text(3)](/al_do_multiline_text/3.md), but using ALLEGRO\_USTR instead of a NUL-terminated char array for text.

## SINCE

5\.1.9

## SEE ALSO

[al\_draw\_multiline\_ustr(3)](/al_draw_multiline_ustr/3.md)
