diff get_path.c @ 12891:54ea3d6e657c

added src level documentation for the get_path() function
author al
date Fri, 23 Jul 2004 16:35:20 +0000
parents 133e0ebde74d
children a7f11c8091e4
line wrap: on
line diff
--- a/get_path.c	Fri Jul 23 16:10:21 2004 +0000
+++ b/get_path.c	Fri Jul 23 16:35:20 2004 +0000
@@ -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;