summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fread.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/fread.3')
-rw-r--r--lib/libc/stdio/fread.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/fread.3 b/lib/libc/stdio/fread.3
index 8dd65af..c3e591a 100644
--- a/lib/libc/stdio/fread.3
+++ b/lib/libc/stdio/fread.3
@@ -44,9 +44,9 @@
.Nd binary stream input/output
.Sh SYNOPSIS
.Fd #include <stdio.h>
-.Ft int
+.Ft size_t
.Fn fread "void *ptr" "size_t size" "size_t nmemb" "FILE *stream"
-.Ft int
+.Ft size_t
.Fn fwrite "const void *ptr" "size_t size" "size_t nmemb" "FILE *stream"
.Sh DESCRIPTION
The function
@@ -54,7 +54,7 @@ The function
reads
.Fa nmemb
objects, each
-.Xr size
+.Fa size
bytes long, from the stream pointed to by
.Fa stream ,
storing them at the location given by
OpenPOWER on IntegriCloud