diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-07-14 22:54:38 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-07-14 22:54:38 +0000 |
commit | 3b6b8d33bb3eb760cdf08b268eb7ad1f3b0da00c (patch) | |
tree | 47a3eff8465e2051d2d198894864a5d798fb41f1 /src/include/gnunet_disk_lib.h | |
parent | 67cc349602fc6c071955be40174a6397662f83f2 (diff) | |
download | gnunet-3b6b8d33bb3eb760cdf08b268eb7ad1f3b0da00c.tar.gz gnunet-3b6b8d33bb3eb760cdf08b268eb7ad1f3b0da00c.zip |
doc
Diffstat (limited to 'src/include/gnunet_disk_lib.h')
-rw-r--r-- | src/include/gnunet_disk_lib.h | 10 |
1 files 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); | |||
356 | 356 | ||
357 | 357 | ||
358 | /** | 358 | /** |
359 | * Create an (empty) temporary file on disk. If the given name is not | 359 | * Create an (empty) temporary directory on disk. If the given name is not an |
360 | * an absolute path, the current 'TMPDIR' will be prepended. In any case, | 360 | * absolute path, the current 'TMPDIR' will be prepended. In any case, 6 |
361 | * 6 random characters will be appended to the name to create a unique | 361 | * random characters will be appended to the name to create a unique name. |
362 | * filename. | ||
363 | * | 362 | * |
364 | * @param t component to use for the name; | 363 | * @param t component to use for the name; |
365 | * does NOT contain "XXXXXX" or "/tmp/". | 364 | * does NOT contain "XXXXXX" or "/tmp/". |
366 | * @return NULL on error, otherwise name of fresh | 365 | * @return NULL on error, otherwise name of freshly created directory |
367 | * file on disk in directory for temporary files | ||
368 | */ | 366 | */ |
369 | char * | 367 | char * |
370 | GNUNET_DISK_mkdtemp (const char *t); | 368 | GNUNET_DISK_mkdtemp (const char *t); |