solidc
Robust collection of general-purpose cross-platform C libraries and data structures designed for rapid and safe development in C
Loading...
Searching...
No Matches
Public Attributes | List of all members
Directory Struct Reference

#include <filepath.h>

Public Attributes

char * path
 
DIR * dir
 

Detailed Description

Opaque directory handle for iterating directory contents.

Note
Not safe for concurrent use. Each thread should use its own handle.
Must be closed with dir_close() to prevent resource leaks.

Definition at line 64 of file filepath.h.

Member Data Documentation

◆ dir

DIR* Directory::dir

POSIX directory stream.

Definition at line 71 of file filepath.h.

Referenced by dir_close(), dir_next(), dir_open(), dir_walk(), and dir_walk_depth_first().

◆ path

char* Directory::path

Directory path being traversed.

Definition at line 65 of file filepath.h.

Referenced by dir_close(), and dir_open().


The documentation for this struct was generated from the following file: