From 3b6b8d33bb3eb760cdf08b268eb7ad1f3b0da00c Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Sat, 14 Jul 2012 22:54:38 +0000 Subject: [PATCH] doc --- src/include/gnunet_disk_lib.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/include/gnunet_disk_lib.h b/src/include/gnunet_disk_lib.h index d364568b6..1e2ab8c19 100644 --- a/src/include/gnunet_disk_lib.h +++ b/src/include/gnunet_disk_lib.h @@ -356,15 +356,13 @@ GNUNET_DISK_mktemp (const char *t); /** - * 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. + * Create an (empty) temporary directory 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 name. * * @param t component to use for the name; * does NOT contain "XXXXXX" or "/tmp/". - * @return NULL on error, otherwise name of fresh - * file on disk in directory for temporary files + * @return NULL on error, otherwise name of freshly created directory */ char * GNUNET_DISK_mkdtemp (const char *t); -- 2.25.1