al_get_current_directory
char *al_get_current_directory(void)
Introduced in 5.0.0
Returns the path to the current working directory, or NULL on failure. The returned path is dynamically allocated and must be destroyed with al_free.
Allegro's errno is filled in to indicate the error if there is a failure. This function may not be implemented on some (virtual) filesystems.
See also: al_get_errno, al_free
Most helpful discussions:
- Allegro 5, android, writing files.
- problem loading config file again
- [A5] for_each_file - missing
- [A44] Getting current Directory with allegro
- Crash when trying to chance working directory
- My game bugs out when in release mode?
- Where do I put my .dat files?
- Cant load bitmap
- |multiple definition of `Player::test()' Error
- Bitmap Assertion Failed
Other recent discussions: