Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-11-28 | add missing files | Anton Kling | |
2024-11-28 | changes | Anton Kling | |
2024-11-24 | libc: fclose should always close the associated file descriptor | Anton Kling | |
My previous "fix" was a misreading of the spec. | |||
2024-11-23 | vfs: Support O_TRUNC | Anton Kling | |
2024-11-23 | libc: Add append to f(d)open and other fixes | Anton Kling | |
2024-10-03 | libc: small changes | Anton Kling | |
2024-10-02 | libc: Fix FILE memstream bug | Anton Kling | |
2024-06-26 | LibC: Fix regression in printf | Anton Kling | |
printf did not write out anything for %d when the value was zero. | |||
2024-06-26 | LibC: Fix printf formatting | Anton Kling | |
Previously %02x would not print out padding if the given value was zero. | |||
2024-06-23 | LibC: Include delim in getdelim if it was seen | Anton Kling | |
2024-06-22 | LibC: Fix bugs relating to fseek | Anton Kling | |
2024-05-05 | LibC: fflush() should not dereference stream if it is NULL | Anton Kling | |
2024-04-18 | LibC/Kernel: Move lseek/seek to kernel | Anton Kling | |
2024-04-17 | VFS/LibC: Fix small bugs | Anton Kling | |
2024-04-17 | LibC: Add more functions that support "long long" integers | Anton Kling | |
2024-04-11 | bug fixes | Anton Kling | |
2023-11-24 | LibC: Fill new allocations with random data and fix a bug | Anton Kling | |
The bug was noticed as a result of this new randomization of allocations. | |||
2023-11-23 | LibC: Reduce warnings in code | Anton Kling | |
2023-11-22 | LibC: Add fflush() and buffer writes to file descriptors | Anton Kling | |
2023-11-22 | Meta: Cleanup of header files such that they are partially shared | Anton Kling | |
The /include directory contains definitons that both the kernel and libc need to be in sync. | |||
2023-11-15 | LibC: Add getdelim and getline | Anton Kling | |
2023-11-13 | LibC: Support negative values in printf for %d | Anton Kling | |
2023-10-30 | LibC: Bug fix, make sure to invalidate cache if it skips using it | Anton Kling | |
Since when the cache gets skipped the offset in the file increases far outside of the reach of the current cache. Therefore the current cache should be discarded. | |||
2023-10-30 | LibC: Skip using cache if length requested is longer than the cache block | Anton Kling | |
This avoid a bunch of extra systemcalls that would have to be made to read each portion into a cache block. | |||
2023-10-24 | LibC: Allocate stdin, stdout, stderr on the heap so they can be closed with ↵ | Anton Kling | |
fclose | |||
2023-10-22 | libc: Implement fscanf function | Anton Kling | |
2023-10-22 | libc: Add a cache to the fread function for reading from files on disk. | Anton Kling | |
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. | |||
2023-10-22 | Move everything into a new repo. | Anton Kling | |