SDL_PathType - Types of filesystem entries.
Contents
Availability
This enum is available since SDL 3.2.0.
Description
Note that there may be other sorts of items on a filesystem: devices, symlinks, named pipes, etc. They
are currently reported as SDL_PATHTYPE_OTHER.
Name
SDL_PathType - Types of filesystem entries.
See Also
SDL_PathInfo(3type) Simple Directmedia Layer SDL 3.2.20 SDL_PathType(3type)
Synopsis
#include<SDL3/SDL_filesystem.h>typedefenumSDL_PathType{SDL_PATHTYPE_NONE,/**<pathdoesnotexist*/SDL_PATHTYPE_FILE,/**<anormalfile*/SDL_PATHTYPE_DIRECTORY,/**<adirectory*/SDL_PATHTYPE_OTHER/**<somethingcompletelydifferentlikeadevicenode(notasymlink,thosearealwaysfollowed)*/}SDL_PathType;