Defines

Error codes and macros

Defines

#define IS_PATH_UTILS_ERROR(error)   (((error) >= PATH_UTILS_ERROR_BASE) && ((error) < PATH_UTILS_ERROR_LIMIT))
 You can use this macro to check if an error code is one of the internal path_utils codes.
#define PATH_UTILS_ERROR_NOT_FULLY_NORMALIZED   (PATH_UTILS_ERROR_BASE + 1)
 A path cannot be normalized due to too many parent links.

Define Documentation

#define PATH_UTILS_ERROR_NOT_FULLY_NORMALIZED   (PATH_UTILS_ERROR_BASE + 1)

A path cannot be normalized due to too many parent links.

Returned when a relative path contains too many parent ("..") links. Please see the documentation of normalize_path() for full explanation.