1al_make_temp_file(3)       Library Functions Manual       al_make_temp_file(3)
2
3
4

NAME

6       al_make_temp_file
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              ALLEGRO_FILE *al_make_temp_file(const char *template, ALLEGRO_PATH **ret_path)
12

DESCRIPTION

14       Make a temporary randomly named file given a filename `template'.
15
16       `template'  is a string giving the format of the generated filename and
17       should include one or more capital Xs.  The Xs are replaced with random
18       alphanumeric characters.  There should be no path separators.
19
20       If  `ret_path'  is  not  NULL,  the address it points to will be set to
21       point to a new path structure with the name of the temporary file.
22
23       Returns the opened ALLEGRO_FILE(3) on success, NULL on failure.
24
25
26
27Allegro reference manual                                  al_make_temp_file(3)
Impressum