diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-27 09:49:39 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-27 09:49:39 +0000 |
commit | bcdae74167d2e1f9d8dd9b01fb368bf8bcc2287d (patch) | |
tree | b1f47d243e677d53de0c3503a1d5caf43dba073e /src/util/disk.c | |
parent | dd22c2132e58ba4ac960337efc0f843c12f58780 (diff) | |
download | gnunet-bcdae74167d2e1f9d8dd9b01fb368bf8bcc2287d.tar.gz gnunet-bcdae74167d2e1f9d8dd9b01fb368bf8bcc2287d.zip |
-undo #29640, somehow causes problems
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 34480e36a..066b0b99b 100644 --- a/src/util/disk.c +++ b/src/util/disk.c | |||
@@ -759,12 +759,13 @@ GNUNET_DISK_directory_create (const char *dir) | |||
759 | 759 | ||
760 | 760 | ||
761 | /** | 761 | /** |
762 | * Create the directory structure for storing a file. | 762 | * Create the directory structure for storing |
763 | * a file. | ||
763 | * | 764 | * |
764 | * @param filename name of a file in the directory | 765 | * @param filename name of a file in the directory |
765 | * @returns #GNUNET_OK on success, | 766 | * @returns GNUNET_OK on success, |
766 | * #GNUNET_SYSERR on failure, | 767 | * GNUNET_SYSERR on failure, |
767 | * #GNUNET_NO if the directory | 768 | * GNUNET_NO if the directory |
768 | * exists but is not writeable for us | 769 | * exists but is not writeable for us |
769 | */ | 770 | */ |
770 | int | 771 | int |
@@ -791,11 +792,10 @@ GNUNET_DISK_directory_create_for_file (const char *filename) | |||
791 | 792 | ||
792 | /** | 793 | /** |
793 | * Read the contents of a binary file into a buffer. | 794 | * 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, |