summaryrefslogtreecommitdiff
path: root/apps/graphics/tiff/tiff_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/graphics/tiff/tiff_internal.h')
-rw-r--r--apps/graphics/tiff/tiff_internal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/graphics/tiff/tiff_internal.h b/apps/graphics/tiff/tiff_internal.h
index bfc2a0253..5596122fa 100644
--- a/apps/graphics/tiff/tiff_internal.h
+++ b/apps/graphics/tiff/tiff_internal.h
@@ -108,11 +108,12 @@ extern "C" {
* count - The number of bytes to write
*
* Returned Value:
- * Zero (OK) on success. A negated errno value on failure.
+ * On success, then number of bytes read; Zero is returned on EOF.
+ * Otherwise, a negated errno value on failure.
*
****************************************************************************/
-EXTERN int tiff_read(int fd, FAR void *buffer, size_t count);
+EXTERN ssize_t tiff_read(int fd, FAR void *buffer, size_t count);
/****************************************************************************
* Name: tiff_write