table of contents
other versions
- trixie 3.2.10+ds-1
 - testing 3.2.26+ds-1
 - unstable 3.2.26+ds-2
 - experimental 3.3.2+git20251103~dc5b136+ds-1
 
| SDL_PathType(3type) | SDL3 DATATYPES | SDL_PathType(3type) | 
NAME¶
SDL_PathType - Types of filesystem entries.
HEADER FILE¶
Defined in SDL3/SDL_filesystem.h
SYNOPSIS¶
#include "SDL3/SDL.h"
typedef enum SDL_PathType
{
    SDL_PATHTYPE_NONE,      /**< path does not exist */
    SDL_PATHTYPE_FILE,      /**< a normal file */
    SDL_PATHTYPE_DIRECTORY, /**< a directory */
    SDL_PATHTYPE_OTHER      /**< something completely different like a device node (not a symlink, those are always followed) */
} SDL_PathType;
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 .
AVAILABILITY¶
This enum is available since SDL 3.2.0.
SEE ALSO¶
•(3), SDL_PathInfo(3type)
| SDL 3.2.10 | Simple Directmedia Layer |