1al_cstr_dup(3) al_cstr_dup(3)
23
4
NAME
6al_cstr_dup - Allegro 5 API
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).
1718
If an error occurs NULL is returned.
19
SEE ALSO
21al_cstr(3), al_ustr_to_buffer(3), al_free(3)
2223
24
25
Allegro reference manual al_cstr_dup(3)