summaryrefslogtreecommitdiff
path: root/userland/libc
AgeCommit message (Collapse)Author
2023-10-30Kernel/Networking/LibC: Add syscalls and libc functions for UDPAnton Kling
This allows a UDP server to be created in userland and read data. Currently it can't send data and is very very simplistic. Code is horrible and probably needs some fixing until it can be further built upon.
2023-10-24VFS/LibC: Create ftruncate function and corresponding syscall and libc ↵Anton Kling
implementation Previously this function was only used for shared memory region created by shm_open because I was lazy. Now exists for all files.
2023-10-24LibC: Allocate stdin, stdout, stderr on the heap so they can be closed with ↵Anton Kling
fclose
2023-10-23VFS/libc: Create a syscall for mkdir and add the function to libcAnton Kling
2023-10-22libc: Implement fscanf functionAnton Kling
2023-10-22libc: 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-22Change CC in Makefiles to not use a absolute pathAnton Kling
2023-10-22Move everything into a new repo.Anton Kling