summaryrefslogtreecommitdiff
path: root/src/stdio/fwrite.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/fwrite.c
parent0b0d1fe1d4fbf8560577d81e5af0549683eac8ba (diff)
formatting
Diffstat (limited to 'src/stdio/fwrite.c')
-rw-r--r--src/stdio/fwrite.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdio/fwrite.c b/src/stdio/fwrite.c
index 047ee892..f7fe07f9 100644
--- a/src/stdio/fwrite.c
+++ b/src/stdio/fwrite.c
@@ -1,6 +1,7 @@
#include <stdio.h>
/** write directly to a file stream **/
+
size_t fwrite(const void * restrict ptr, size_t size, size_t nmemb, FILE * restrict stream)
{
unsigned char *buf = (unsigned char *)ptr;
@@ -31,6 +32,7 @@ the array ARGUMENT(ptr) to ARGUMENT(stream).
The file position inidicate is advanced by the number of bytes successfully
written.
***/
+
/*
STDC(1)
*/