summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2014-04-01 21:12:00 -0700
committerMichael Pavone <pavone@retrodev.com>2014-04-01 21:12:00 -0700
commit4468c6074eccd86951fb02d6126b3f4408f1c53e (patch)
treeb9175fee206b874ea8a4333cbe05384df8499bf0 /util.h
parentc51f057715587f133abe9bfb32d6d453a7af698b (diff)
Make Windows port a little less half-assed
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 2 insertions, 0 deletions
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);