#include <stdbool.h>
#include <stddef.h>
Go to the source code of this file.
Define Documentation
#define DIRECTORY_SEPARATOR '/' |
#define DOUBLE_SLASH_IS_DISTINCT_ROOT 0 |
#define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE 0 |
#define FILE_SYSTEM_PREFIX_LEN |
( |
|
Filename |
) |
0 |
#define IS_ABSOLUTE_FILE_NAME |
( |
|
F |
) |
(ISSLASH ((F)[0]) || 0 < FILE_SYSTEM_PREFIX_LEN (F)) |
#define IS_RELATIVE_FILE_NAME |
( |
|
F |
) |
(! IS_ABSOLUTE_FILE_NAME (F)) |
#define ISSLASH |
( |
|
C |
) |
((C) == DIRECTORY_SEPARATOR) |
Function Documentation
size_t base_len |
( |
char const * |
file |
) |
|
size_t dir_len |
( |
char const * |
file |
) |
|
char* last_component |
( |
char const * |
file |
) |
|
char* mdir_name |
( |
char const * |
file |
) |
|
bool strip_trailing_slashes |
( |
char * |
file |
) |
|