SDL_PathType(3type)

SDL_PathType3type

Types of filesystem entries.

Usage

#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;

Header file

Defined in SDL3/SDL_filesystem.h

Overview

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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.