summaryrefslogtreecommitdiffstats
path: root/get_path.c
diff options
context:
space:
mode:
Diffstat (limited to 'get_path.c')
-rw-r--r--get_path.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/get_path.c b/get_path.c
index f27de6cfb1..0cd6529773 100644
--- a/get_path.c
+++ b/get_path.c
@@ -1,4 +1,13 @@
+/*
+ * Get path to config dir/file.
+ *
+ * Return Values:
+ * Returns the pointer to the ALLOCATED buffer containing the
+ * zero terminated path string. This buffer has to be FREED
+ * by the caller.
+ *
+ */
char *get_path(char *filename){
char *homedir;
char *buff;