Mercurial > hg > th-libs
comparison th_file.h @ 741:0852bd106034
Change th_mkdir_path() API, instead if returning boolean, return a th-lib error code.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 14 Dec 2022 01:32:40 +0200 |
parents | caeb0a44ebdf |
children |
comparison
equal
deleted
inserted
replaced
740:caeb0a44ebdf | 741:0852bd106034 |
---|---|
47 | 47 |
48 char * th_get_home_dir(void); | 48 char * th_get_home_dir(void); |
49 char * th_get_config_dir(void); | 49 char * th_get_config_dir(void); |
50 | 50 |
51 bool th_stat_path(const char *path, th_stat_data *data); | 51 bool th_stat_path(const char *path, th_stat_data *data); |
52 bool th_mkdir_path(const char *path, const int mode); | 52 int th_mkdir_path(const char *path, const int mode); |
53 | 53 |
54 | 54 |
55 #ifdef __cplusplus | 55 #ifdef __cplusplus |
56 } | 56 } |
57 #endif | 57 #endif |