From: Sree Harsha Totakura Date: Sat, 14 Jul 2012 22:54:38 +0000 (+0000) Subject: doc X-Git-Tag: initial-import-from-subversion-38251~12491 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3b6b8d33bb3eb760cdf08b268eb7ad1f3b0da00c;p=oweals%2Fgnunet.git doc --- 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);