1al_cstr_dup(3)                                                  al_cstr_dup(3)
2
3
4

NAME

6       al_cstr_dup - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              char *al_cstr_dup(const ALLEGRO_USTR *us)
12

DESCRIPTION

14       Create  a  NUL  ('\0') terminated copy of the string.  Any embedded NUL
15       bytes will still be presented in the returned string.  The  new  string
16       must eventually be freed with al_free(3).
17
18       If an error occurs NULL is returned.
19

SEE ALSO

21       al_cstr(3), al_ustr_to_buffer(3), al_free(3)
22
23
24
25Allegro reference manual                                        al_cstr_dup(3)
Impressum