picox
0.1
|
ファイルパス操作ユーティリティ定義 [詳解]
#include <picox/core/xcore.h>
関数 | |
char | xfpath_drive (const char *path) |
bool | xfpath_is_absolute (const char *path) |
bool | xfpath_is_relative (const char *path) |
bool | xfpath_is_root (const char *path) |
char * | xfpath_join (char *p1, const char *p2, size_t size) |
sizeバイトの領域を持つパスp1とパスp2を連結して返します [詳解] | |
char * | xfpath_name (const char *path, char **o_end) |
パスのファイル名を返します [詳解] | |
char * | xfpath_parent (const char *path, const char *end, char **o_end) |
パスの上位パスを返します [詳解] | |
XError | xfpath_resolve (char *dst, const char *cwd, const char *path, size_t size) |
パスを正規化します [詳解] | |
char * | xfpath_resolve_dot (char *path) |
パス中に含まれる".."や"."を展開した結果を返します [詳解] | |
char * | xfpath_stem (const char *path, char **o_end) |
パスのファイル名から拡張子を除いた部分を返します [詳解] | |
char * | xfpath_suffix (const char *path, char **o_end) |
パスのファイル名の拡張子を返します [詳解] | |
char * | xfpath_tail (const char *path, const char *end, char **o_end) |
パスの末尾要素を返します [詳解] | |
char * | xfpath_top (const char *path, char **o_end) |
パスの先頭要素を返します [詳解] | |
ファイルパス操作ユーティリティ定義