21 #include "../../SDL_internal.h"
23 #ifdef SDL_FILESYSTEM_HAIKU
28 #include <kernel/image.h>
29 #include <storage/Directory.h>
30 #include <storage/Entry.h>
31 #include <storage/Path.h>
43 while (get_next_image_info(0, &cookie, &info) == B_OK) {
44 if (info.type == B_APP_IMAGE) {
49 BEntry entry(info.name,
true);
51 status_t rc = entry.GetPath(&
path);
55 const char *str =
path.Path();
77 const char *append =
"/config/settings/";
88 if (!
len || (home[
len - 1] ==
'/')) {
101 create_directory(
retval, 0700);
#define SDL_assert(condition)
#define SDL_OutOfMemory()
#define SDL_InvalidParamError(param)
Include file for filesystem SDL API functions.
char * SDL_GetBasePath(void)
Get the path where the application resides.
GLsizei const GLchar *const * path