enhanced qse_dir_t
This commit is contained in:
@ -70,6 +70,22 @@ int qse_isabspath (
|
||||
const qse_char_t* path
|
||||
);
|
||||
|
||||
/**
|
||||
* The qse_isdrivepath() function determines if a path name begins with
|
||||
* a drive letter followed by a colon like A:.
|
||||
*/
|
||||
int qse_isdrivepath (
|
||||
const qse_char_t* path
|
||||
);
|
||||
|
||||
/**
|
||||
* The qse_isdrivecurpath() function determines if a path name is in the form
|
||||
* of a drive letter followed by a colon like A:, without any trailing path.
|
||||
*/
|
||||
int qse_isdrivecurpath (
|
||||
const qse_char_t* path
|
||||
);
|
||||
|
||||
/**
|
||||
* The qse_canonpath() function canonicalizes a path name @a path by deleting
|
||||
* unnecessary path segments from it and stores the result to a memory buffer
|
||||
|
@ -33,7 +33,7 @@ enum qse_dir_errnum_t
|
||||
QSE_DIR_EINVAL,
|
||||
QSE_DIR_EACCES,
|
||||
QSE_DIR_ENOENT,
|
||||
QSE_DIR_ENOTDIR,
|
||||
QSE_DIR_ENODIR,
|
||||
QSE_DIR_ESYSTEM
|
||||
};
|
||||
typedef enum qse_dir_errnum_t qse_dir_errnum_t;
|
||||
|
Reference in New Issue
Block a user