diff options
author | Anton Kling <anton@kling.gg> | 2023-10-22 23:22:32 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-10-22 23:22:32 +0200 |
commit | 9efad5f8d3ebbecdf8221d871f43bcbd15f1ac7d (patch) | |
tree | a7313186ea8dd331672dbd4c042f83731d2a1f7e /cpu/io.h | |
parent | 056216a800098ba98211ede122d974bf94a4e319 (diff) |
libc: Add a cache to the fread function for reading from files on disk.
This helps a ton when using functions such as fscanf that reads from a
FILE byte by byte. By creating a cache it avoids a ton of 'read'
syscalls that would otherwise be made.
Diffstat (limited to 'cpu/io.h')
0 files changed, 0 insertions, 0 deletions