diff options
Diffstat (limited to 'src/util/disk.c')
-rw-r--r-- | src/util/disk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/disk.c b/src/util/disk.c index 6ba5db773..9059852d3 100644 --- a/src/util/disk.c +++ b/src/util/disk.c | |||
@@ -139,7 +139,7 @@ translate_unix_perms (enum GNUNET_DISK_AccessPermissions perm) | |||
139 | 139 | ||
140 | 140 | ||
141 | /** | 141 | /** |
142 | * Iterate over all files in the given directory and | 142 | * Iterate over all files in the given directory and |
143 | * accumulate their size. | 143 | * accumulate their size. |
144 | * | 144 | * |
145 | * @param cls closure of type "struct GetFileSizeData" | 145 | * @param cls closure of type "struct GetFileSizeData" |
@@ -339,7 +339,7 @@ GNUNET_DISK_file_get_identifiers (const char *filename, uint64_t * dev, | |||
339 | * an absolute path, the current 'TMPDIR' will be prepended. In any case, | 339 | * an absolute path, the current 'TMPDIR' will be prepended. In any case, |
340 | * 6 random characters will be appended to the name to create a unique | 340 | * 6 random characters will be appended to the name to create a unique |
341 | * filename. | 341 | * filename. |
342 | * | 342 | * |
343 | * @param t component to use for the name; | 343 | * @param t component to use for the name; |
344 | * does NOT contain "XXXXXX" or "/tmp/". | 344 | * does NOT contain "XXXXXX" or "/tmp/". |
345 | * @return NULL on error, otherwise name of fresh | 345 | * @return NULL on error, otherwise name of fresh |
@@ -767,7 +767,7 @@ GNUNET_DISK_file_write (const struct GNUNET_DISK_FileHandle * h, | |||
767 | * @param fn file name | 767 | * @param fn file name |
768 | * @param buffer the data to write | 768 | * @param buffer the data to write |
769 | * @param n number of bytes to write | 769 | * @param n number of bytes to write |
770 | * @param mode file permissions | 770 | * @param mode file permissions |
771 | * @return number of bytes written on success, GNUNET_SYSERR on error | 771 | * @return number of bytes written on success, GNUNET_SYSERR on error |
772 | */ | 772 | */ |
773 | ssize_t | 773 | ssize_t |
@@ -788,7 +788,7 @@ GNUNET_DISK_fn_write (const char *fn, const void *buffer, size_t n, | |||
788 | } | 788 | } |
789 | 789 | ||
790 | /** | 790 | /** |
791 | * Scan a directory for files. | 791 | * Scan a directory for files. |
792 | * | 792 | * |
793 | * @param dirName the name of the directory | 793 | * @param dirName the name of the directory |
794 | * @param callback the method to call for each file, | 794 | * @param callback the method to call for each file, |