#include "precompiled.h"
#include "lib/path.h"
#include <cstring>
#include <cerrno>
Go to the source code of this file.
static bool path_is_dir_sep |
( |
wchar_t |
c | ) |
|
|
static |
is s2 a subpath of s1, or vice versa? (equal counts as subpath)
- Parameters
-
- Returns
- bool
Definition at line 51 of file path.cpp.
Get the path component of a path.
Skips over all characters up to the last dir separator, if any.
- Parameters
-
- Returns
- pointer to path component within <path>.
Definition at line 85 of file path.cpp.
Initial value:= {
}
const Status PATH_CHARACTER_ILLEGAL
const Status PATH_CHARACTER_UNSAFE
const Status PATH_MIXED_SEPARATORS
const Status PATH_NOT_FOUND
Definition at line 33 of file path.cpp.