summaryrefslogtreecommitdiffstats
path: root/get_path.c
diff options
context:
space:
mode:
authoral <al@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-07-23 16:35:20 +0000
committeral <al@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-07-23 16:35:20 +0000
commit8791d149b7e5d3ff51f6a89ad279eac287957266 (patch)
tree7b8f86193ada19e6fe8079719c6a6342de12d64a /get_path.c
parent8bad258e0d4b1858c6cf95785f9aae0a2fd7760e (diff)
downloadmpv-8791d149b7e5d3ff51f6a89ad279eac287957266.tar.bz2
mpv-8791d149b7e5d3ff51f6a89ad279eac287957266.tar.xz
added src level documentation for the get_path() function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12892 b3059339-0415-0410-9bf9-f77b7e298cf2
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;