summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-22 23:22:32 +0200
committerAnton Kling <anton@kling.gg>2023-10-22 23:22:32 +0200
commit9efad5f8d3ebbecdf8221d871f43bcbd15f1ac7d (patch)
treea7313186ea8dd331672dbd4c042f83731d2a1f7e /libc/string
parent056216a800098ba98211ede122d974bf94a4e319 (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 'libc/string')
0 files changed, 0 insertions, 0 deletions