summaryrefslogtreecommitdiff
path: root/userland/libc/Makefile
AgeCommit message (Collapse)Author
2024-12-16libc: Add gai_strerrorAnton Kling
2024-12-15libc: Add setenv/getenvAnton Kling
2024-12-12formatting: Use clang-format on all projectsAnton Kling
This commit also add braces to all `if` statements.
2024-12-12signal: Remove old way of sending signals and instead use procfsAnton Kling
2024-11-23libc: Add append to f(d)open and other fixesAnton Kling
2024-10-03libc: Add sendfile and queueAnton Kling
2024-10-03libc: small changesAnton Kling
2024-06-27stuffAnton Kling
2024-06-26LibC: Fix printf formattingAnton Kling
Previously %02x would not print out padding if the given value was zero.
2024-06-20Add getaddrinfo and change other libc stuffAnton Kling
2024-04-29Kernel/IRC: Add setsockopt and move IRC client to use new socket interfaceAnton Kling
2024-04-29Kernel/Socket: Move sockets back to being file descriptorsAnton Kling
2024-04-21LibC: Add different isX() functionsAnton Kling
2024-04-18LibC/Kernel: Move lseek/seek to kernelAnton Kling
2024-04-18LibC: Fix compiler warningsAnton Kling
It can now compile with almost all compiler warnings turned on without producing any warnings.
2024-04-17Kernel/LibC: Add fstat() and remove stat() syscallAnton Kling
2024-04-17LibC: Add more functions that support "long long" integersAnton Kling
2024-04-17LibC: Add memchr()Anton Kling
2024-04-11bug fixesAnton Kling
2024-04-02Kernel: Fix some memory leaksAnton Kling
2024-03-25Random changesAnton Kling
2024-02-22Kernel: Fix undefined behavior and cleanup functions.Anton Kling
The int_syscall caused crashes for higher level of optimizations. To fix this I rewrote the function in assembly as I deemed it to be simpler.
2023-12-18Add untracked filesAnton Kling
2023-11-24Refactor write() and pwrite()Anton Kling
2023-11-24Refactor open()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: Move assembly to its own file to avoid using inlineAnton Kling
This was a ugly hack and in this case it caused undefined behavior.
2023-11-23LibC: Reduce warnings in codeAnton 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-17LibC: Add isatty()Anton Kling
2023-11-15LibC: Add getdelim and getlineAnton Kling
2023-11-15VFS: Add statAnton Kling
2023-10-31Meta: Create a simple toolchain compilation scriptAnton 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/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-22Change CC in Makefiles to not use a absolute pathAnton Kling
2023-10-22Move everything into a new repo.Anton Kling