From 4468c6074eccd86951fb02d6126b3f4408f1c53e Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Tue, 1 Apr 2014 21:12:00 -0700 Subject: Make Windows port a little less half-assed --- util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util.h') diff --git a/util.h b/util.h index d82ac50..780f538 100644 --- a/util.h +++ b/util.h @@ -19,6 +19,8 @@ char * split_keyval(char * text); 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); -- cgit v1.2.3