diff options
author | Anton Kling <anton@kling.gg> | 2024-10-03 15:08:45 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-10-03 15:08:45 +0200 |
commit | 226d861c9ebb7f09f95665d07d9ab5c6b7ed7d6f (patch) | |
tree | d900c3437d3d65ee7bd88474586dc6dd947b14ce /userland/libc/stdio/fwrite.c | |
parent | 64b0b49a1f23da9faa680f8158cb8a12cd4d118c (diff) |
libc: small changes
Diffstat (limited to 'userland/libc/stdio/fwrite.c')
-rw-r--r-- | userland/libc/stdio/fwrite.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/userland/libc/stdio/fwrite.c b/userland/libc/stdio/fwrite.c index 6065465..6499529 100644 --- a/userland/libc/stdio/fwrite.c +++ b/userland/libc/stdio/fwrite.c @@ -8,5 +8,6 @@ size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream) { // On success, fwrite() return the number of items // written. rc /= size; + fflush(stream); return rc; } |