|
My Kernel v0.1.0
|
A single path component. More...
#include <path.h>
Data Fields | |
| const char * | start |
| Start of the segment. | |
| const char * | end |
| End of the segment. | |
| const path_t * | path |
| The original path the segment is a part of. | |
| const char * | next |
| Start of the next segment. More... | |
| const char * | prev |
| Start of the previous segment. More... | |
A path is split into multiple components (segments). For example, the absolute path '/usr/bin/env' is split into 3 separate segments: 'usr', 'bin' and 'env'
This structure is used to walk along a path (forward or backward)
| const char* libpath_segment::next |
If this segment is the last one of the path, this is set to NULL.
| const char* libpath_segment::prev |
If this segment is the first one of the path, this is set to NULL.