---
name: "SDL_PathType"
section: "3type"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_PathType"
---

# SDL\_PathType(3type)

Types of filesystem entries.

## 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_PathInfo/3type.md)
