diff options
Diffstat (limited to 'src/util/disk.c')
-rw-r--r-- | src/util/disk.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/util/disk.c b/src/util/disk.c index 066b0b99b..34480e36a 100644 --- a/src/util/disk.c +++ b/src/util/disk.c | |||
@@ -759,13 +759,12 @@ GNUNET_DISK_directory_create (const char *dir) | |||
759 | 759 | ||
760 | 760 | ||
761 | /** | 761 | /** |
762 | * Create the directory structure for storing | 762 | * Create the directory structure for storing a file. |
763 | * a file. | ||
764 | * | 763 | * |
765 | * @param filename name of a file in the directory | 764 | * @param filename name of a file in the directory |
766 | * @returns GNUNET_OK on success, | 765 | * @returns #GNUNET_OK on success, |
767 | * GNUNET_SYSERR on failure, | 766 | * #GNUNET_SYSERR on failure, |
768 | * GNUNET_NO if the directory | 767 | * #GNUNET_NO if the directory |
769 | * exists but is not writeable for us | 768 | * exists but is not writeable for us |
770 | */ | 769 | */ |
771 | int | 770 | int |
@@ -792,10 +791,11 @@ GNUNET_DISK_directory_create_for_file (const char *filename) | |||
792 | 791 | ||
793 | /** | 792 | /** |
794 | * Read the contents of a binary file into a buffer. | 793 | * Read the contents of a binary file into a buffer. |
794 | * | ||
795 | * @param h handle to an open file | 795 | * @param h handle to an open file |
796 | * @param result the buffer to write the result to | 796 | * @param result the buffer to write the result to |
797 | * @param len the maximum number of bytes to read | 797 | * @param len the maximum number of bytes to read |
798 | * @return the number of bytes read on success, GNUNET_SYSERR on failure | 798 | * @return the number of bytes read on success, #GNUNET_SYSERR on failure |
799 | */ | 799 | */ |
800 | ssize_t | 800 | ssize_t |
801 | GNUNET_DISK_file_read (const struct GNUNET_DISK_FileHandle * h, void *result, | 801 | GNUNET_DISK_file_read (const struct GNUNET_DISK_FileHandle * h, void *result, |