libsysutils
diff include/datapath.h @ 2:36936815cc92
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 08 May 2015 07:26:01 +0300 |
parents | c1323f9f202d |
children |
line diff
1.1 --- a/include/datapath.h Tue May 05 05:51:56 2015 +0300 1.2 +++ b/include/datapath.h Fri May 08 07:26:01 2015 +0300 1.3 @@ -10,7 +10,7 @@ 1.4 SYSU_CURRENT_DIR /* current working directory */ 1.5 }; 1.6 1.7 -const char *sysu_get_directory(enum sysu_dir_type type); 1.8 +int sysu_get_directory(enum sysu_dir_type type, char *buf, int sz); 1.9 1.10 /* Writes the path to outpath, and returns the size of the path in bytes. 1.11 * Call with len <= 0 and outpath == NULL to return required storage