PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
fread.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "user/common/file.h"
#include "user/common/syscalls.h"
Include dependency graph for fread.c:

Go to the source code of this file.

Functions

size_t fread (void *_RESTRICT ptr, size_t size, size_t nmemb, FILE *_RESTRICT stream)
 

Function Documentation

◆ fread()

size_t fread ( void *_RESTRICT  ptr,
size_t  size,
size_t  nmemb,
FILE *_RESTRICT  stream 
)
Todo:
For better performance, read block-wise, not byte-wise.

Definition at line 7 of file fread.c.

Here is the call graph for this function:
Here is the caller graph for this function: