al_ustr_to_buffer - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

void al_ustr_to_buffer(const ALLEGRO_USTR *us, char *buffer, int size)

Description

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.

See Also

al_cstr(3), al_cstr_dup(3)

Referenced By

al_cstr(3), al_cstr_dup(3).

Allegro reference manual