1al_get_current_directory(3)Library Functions Manualal_get_current_directory(3)
2
3
4

NAME

6       al_get_current_directory
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              char *al_get_current_directory(void)
12

DESCRIPTION

14       Returns  the path to the current working directory, or NULL on failure.
15       The returned path is dynamically allocated and must be  destroyed  with
16       al_free(3).
17
18       Allegro's  errno is filled in to indicate the error if there is a fail‐
19       ure.  This function may not be implemented on some  (virtual)  filesys‐
20       tems.
21

SEE ALSO

23       al_get_errno(3), al_free(3)
24
25
26
27Allegro reference manual                           al_get_current_directory(3)
Impressum