al_ustr_to_buffer(3)

al_ustr_to_buffer3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
void al_ustr_to_buffer(const ALLEGRO_USTR *us, char *buffer, int size)

Overview

Write the contents of the string into a pre-allocated buffer of the given size in bytes. The result will always be NUL terminated, so a maximum of size - 1 bytes will be copied.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.