Mercurial > repos > blastem
comparison util.h @ 742:2e1b3b258523
Make Windows port a little less half-assed
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 01 Apr 2014 21:12:00 -0700 |
parents | 6fc71114d145 |
children | 2f48a3c187c6 |
comparison
equal
deleted
inserted
replaced
741:80a67be1770b | 742:2e1b3b258523 |
---|---|
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_ |