SDL_PathType(3type)
π SDL_PathType(3type) π
okay bestie, so this is a page from the SDL3 DATATYPES section, and it's literally just about telling you what kind of thing a path is. that's it. that's the whole vibe. π¦
β¨ NAME β¨
SDL_PathType β types of filesystem entries. yes queen, we're categorizing.
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_filesystem.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 π
so like, real talk: a filesystem has so many kinds of little guys living on it β devices, named pipes, all that. and this enum is not about to name every single one of them, no ma'am. right now, everything that isn't a file or a directory just gets reported as SDL_PATHTYPE_OTHER. π«Ά
it's giving "we made a bucket and we put the weird ones in it." and honestly? iconic.
π AVAILABILITY π
this enum has been serving looks since SDL 3.2.0. periodt. π
π₯ SEE ALSO π₯
SDL_PathInfo(3type)β go read this one next bestie, they're a package deal π
and that's the whole page, no cap! this lil' datatype moment comes to you from Simple Directmedia Layer π, rocking SDL 3.4.18 β¨ β mwah, love u, go categorize some paths ππ πΈ
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms