summaryrefslogtreecommitdiff
path: root/src/stdio/fread.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-16 14:00:51 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-16 14:00:51 -0400
commit896e28812c51b9ffdf3efc00c7d7ef699e380a58 (patch)
treeaaa25e093fb4a2ac4c57609e1f745e5ac0734ca8 /src/stdio/fread.c
parent0b0d1fe1d4fbf8560577d81e5af0549683eac8ba (diff)
formatting
Diffstat (limited to 'src/stdio/fread.c')
-rw-r--r--src/stdio/fread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdio/fread.c b/src/stdio/fread.c
index 7929d495..bf8c5fd2 100644
--- a/src/stdio/fread.c
+++ b/src/stdio/fread.c
@@ -2,6 +2,7 @@
#include "_stdio.h"
/** read directly from a file stream **/
+
size_t fread(void * restrict ptr, size_t size, size_t nmemb, FILE * restrict stream)
{
unsigned char *buf = ptr;
@@ -34,6 +35,7 @@ from ARGUMENT(stream) into the array at ARGUMENT(ptr).
The file position indicate is advanced by the number of bytes read.
***/
+
/*
STDC(1)
*/