1al_cstr_dup(3) Library Functions Manual al_cstr_dup(3)
23
4
NAME
6al_cstr_dup
7
SYNOPSIS
9#include <allegro5/allegro.h>
1011
char *al_cstr_dup(const ALLEGRO_USTR *us)
12
DESCRIPTION
14Create a NUL (`\0') terminated copy of the string. Any embedded NUL
15bytes will still be presented in the returned string. The new string
16must eventually be freed with al_free(3). If an error occurs NULL is
17returned.
18
SEE ALSO
20al_cstr(3), al_ustr_to_buffer(3)
2122
23
24
Allegro reference manual al_cstr_dup(3)