aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_disk_lib.h
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2010-04-30 08:57:16 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2010-04-30 08:57:16 +0000
commit39659bb8090fd63f7d7ae37c6bff8dc967fc7e5d (patch)
tree0b1f889880863766c5cbcd9db6646cdfd01a728d /src/include/gnunet_disk_lib.h
parent4e24bce772e82fbd887124eb8dba246f4d38b105 (diff)
towards fi synchronization
git-svn-id: https://gnunet.org/svn/gnunet@11129 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/include/gnunet_disk_lib.h')
-rw-r--r--src/include/gnunet_disk_lib.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/gnunet_disk_lib.h b/src/include/gnunet_disk_lib.h
index fcb58ffeff..6292e029e4 100644
--- a/src/include/gnunet_disk_lib.h
+++ b/src/include/gnunet_disk_lib.h
@@ -293,7 +293,10 @@ int GNUNET_DISK_file_get_identifiers (const char *filename,
/**
- * Create an (empty) temporary file on disk.
+ * Create an (empty) temporary file on disk. If the given name is not
+ * an absolute path, the current 'TMPDIR' will be prepended. In any case,
+ * 6 random characters will be appended to the name to create a unique
+ * filename.
*
* @param t component to use for the name;
* does NOT contain "XXXXXX" or "/tmp/".