Mercurial > repos > blastem
diff 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 |
line wrap: on
line diff
--- a/util.h Tue Apr 01 19:43:58 2014 -0700 +++ b/util.h Tue Apr 01 21:12:00 2014 -0700 @@ -19,6 +19,8 @@ void set_exe_str(char * str); //Returns the directory the executable is in char * get_exe_dir(); +//Returns the user's home directory +char * get_home_dir(); //Returns the contents of a symlink in a newly allocated string char * readlink_alloc(char * path);