summaryrefslogtreecommitdiff
path: root/userland/libc/include
AgeCommit message (Collapse)Author
2024-02-07A lot of small changesAnton Kling
2023-12-18Add untracked filesAnton Kling
2023-11-28Kernel: Add basic IPC and move to microkernel design.Anton Kling
The IPC design is currently a WIP and is nowhere near complete
2023-11-24Refactor write() and pwrite()Anton Kling
2023-11-23Kernel/LibC: Add randomfill() syscall.Anton Kling
This syscall aims to fill the given buffer with cryptographically secure random data. If the syscall returns and does not cause a page fault it will **always** have filled the buffer with random data and never gives back any error value.
2023-11-23LibC: Reduce warnings in codeAnton Kling
2023-11-22LibC: Add fflush() and buffer writes to file descriptorsAnton Kling
2023-11-22Meta: Use dirent as a general include fileAnton Kling
This include file is shared by the kernel and libc
2023-11-22Kernel/LibC: Change file type detectionAnton Kling
2023-11-22Meta: Cleanup of header files such that they are partially sharedAnton Kling
The /include directory contains definitons that both the kernel and libc need to be in sync.
2023-11-20LibC: Add ntohs and ntohlAnton Kling
2023-11-20LibC: Add macros for stdin, stdout, stderr in unistdAnton Kling
2023-11-20LibC: Allow open to accept multiple argumentsAnton Kling
2023-11-20LibC: Add macros for file regnitionAnton Kling
2023-11-17LibC: Add isatty()Anton Kling
2023-11-15VFS/LibC: Add getcwd()Anton Kling
2023-11-15LibC: Add getdelim and getlineAnton Kling
2023-11-15Kernel/LibC: Add chdir function and syscallAnton Kling
2023-11-13LibC: Support negative values in printf for %dAnton Kling
2023-11-01Kernel: Add a simple TCP implementationAnton Kling
2023-10-30Kernel/LibC: Add signals and support for custom signal handlers to processes.Anton Kling
2023-10-30Kernel/LibC/Networking: Be able to send UDP messagesAnton Kling
Now it can send UDP messages to a specific IP address and libc has enough to create a basic UDP ECHO server, that is kinda cool.
2023-10-30Kernel: Expose source information of incoming UDP packetsAnton Kling
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: 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-22Move everything into a new repo.Anton Kling