···166166typedef enum SDL_Folder
167167{
168168 SDL_FOLDER_HOME, /**< The folder which contains all of the current user's data, preferences, and documents. It usually contains most of the other folders. If a requested folder does not exist, the home folder can be considered a safe fallback to store a user's documents. */
169169-170169 SDL_FOLDER_DESKTOP, /**< The folder of files that are displayed on the desktop. Note that the existence of a desktop folder does not guarantee that the system does show icons on its desktop; certain GNU/Linux distros with a graphical environment may not have desktop icons. */
171171-172170 SDL_FOLDER_DOCUMENTS, /**< User document files, possibly application-specific. This is a good place to save a user's projects. */
173173-174171 SDL_FOLDER_DOWNLOADS, /**< Standard folder for user files downloaded from the internet. */
175175-176172 SDL_FOLDER_MUSIC, /**< Music files that can be played using a standard music player (mp3, ogg...). */
177177-178173 SDL_FOLDER_PICTURES, /**< Image files that can be displayed using a standard viewer (png, jpg...). */
179179-180174 SDL_FOLDER_PUBLICSHARE, /**< Files that are meant to be shared with other users on the same computer. */
181181-182175 SDL_FOLDER_SAVEDGAMES, /**< Save files for games. */
183183-184176 SDL_FOLDER_SCREENSHOTS, /**< Application screenshots. */
185185-186177 SDL_FOLDER_TEMPLATES, /**< Template files to be used when the user requests the desktop environment to create a new file in a certain folder, such as "New Text File.txt". Any file in the Templates folder can be used as a starting point for a new file. */
187187-188178 SDL_FOLDER_VIDEOS, /**< Video files that can be played using a standard video player (mp4, webm...). */
189189-190179 SDL_FOLDER_COUNT /**< Total number of types in this enum, not a folder type by itself. */
191191-192180} SDL_Folder;
193181194182/**
···219207220208/* Abstract filesystem interface */
221209210210+/**
211211+ * Types of filesystem entries.
212212+ *
213213+ * Note that there may be other sorts of items on a filesystem: devices,
214214+ * symlinks, named pipes, etc. They are currently reported as
215215+ * SDL_PATHTYPE_OTHER.
216216+ *
217217+ * \since This enum is available since SDL 3.1.3.
218218+ *
219219+ * \sa SDL_PathInfo
220220+ */
222221typedef enum SDL_PathType
223222{
224223 SDL_PATHTYPE_NONE, /**< path does not exist */
···227226 SDL_PATHTYPE_OTHER /**< something completely different like a device node (not a symlink, those are always followed) */
228227} SDL_PathType;
229228229229+/**
230230+ * Information about a path on the filesystem.
231231+ *
232232+ * \since This datatype is available since SDL 3.1.3.
233233+ *
234234+ * \sa SDL_GetPathInfo
235235+ * \sa SDL_GetStoragePathInfo
236236+ */
230237typedef struct SDL_PathInfo
231238{
232239 SDL_PathType type; /**< the path type */
···237244} SDL_PathInfo;
238245239246/**
240240- * Flags for path matching
247247+ * Flags for path matching.
241248 *
242249 * \since This datatype is available since SDL 3.1.3.
243250 *