comparison util.h @ 747:85c98a222fea

Merge
author Michael Pavone <pavone@retrodev.com>
date Thu, 28 May 2015 23:05:32 -0700
parents 2e1b3b258523
children 2f48a3c187c6
comparison
equal deleted inserted replaced
740:25c9e9d39997 747:85c98a222fea
17 char * split_keyval(char * text); 17 char * split_keyval(char * text);
18 //Should be called by main with the value of argv[0] for use by get_exe_dir 18 //Should be called by main with the value of argv[0] for use by get_exe_dir
19 void set_exe_str(char * str); 19 void set_exe_str(char * str);
20 //Returns the directory the executable is in 20 //Returns the directory the executable is in
21 char * get_exe_dir(); 21 char * get_exe_dir();
22 //Returns the user's home directory
23 char * get_home_dir();
22 //Returns the contents of a symlink in a newly allocated string 24 //Returns the contents of a symlink in a newly allocated string
23 char * readlink_alloc(char * path); 25 char * readlink_alloc(char * path);
24 26
25 #endif //UTIL_H_ 27 #endif //UTIL_H_