aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2024-05-19libc: vsnprintf: Add '%d' supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-19libc: Add auxv_entry()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-19libc: Add termios.h with basic functionsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-17libc: Add printf()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-17libc: Add initial vsnprintf() codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-07libc: stdlib: POSIX-compliant randomnessAptRock327
This commit implements two functions: rand(), and srand() which together allow for the generation of pseudorandom numbers. Signed-off-by: AptRock327 <dominik032009@gmail.com> Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-01libc: elf: Fix header guardIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-28libc: Add execv()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-28libc: Add mount()Kaimakan71
Signed-off-by: Kaimakan71 <undefined.foss@gmail.com> Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-24build: Export some sys/*.h headersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-24libc: Add ioctl supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-24kernel: Add ioctl supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-24libc: stdarg: Fix va_end()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-23libc: bits: Fix __test_and_set definitionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-22libc: bits: Update lock header guardIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-22libc: impl/libc_lock.h -> bits/_lock.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-22kernel: auxv: Add AT_PAGESIZEIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-21libc: Add stdarg.hKaimakan71
Signed-off-by: Kaimakan71 <undefined.foss@gmail.com> Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-21libc: Add close() and stdio functionsKaimakan71
Signed-off-by: Kaimakan71 <undefined.foss@gmail.com> Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-21libc: impl: Add spinlocksIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-21libc: Add more string functionsKaimakan71
Signed-off-by: Kaimakan71 <undefined.foss@gmail.com> Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-20libc: Reorganize sourcesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-16libc: Add mmap() and munmap()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-16kernel: vm_map: Add mmap() and munmap()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10libc: Add open()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10libc: Add read()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10libc: Add open()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-06libc: Add write()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-06build: Statically link libcIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-01libc: Add sys/types.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-27libc: Add fcntl.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-27libc: syscall: Add more syscall definesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-24libc: build: Fixup MakefileIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-24libc: stdint: Add uintptr_tIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-24libc: build: Use target compilerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-21libc: Add SYS_writeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-21libc: Implement strlen()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-17libc: Remove useless definesuserIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-16kernel,libc: syscall: Improve syscall codeIan Moffett
- Remove the SYS_debug syscall - First syscall starts at 1 Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-16libc: auxv: Update header guardIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-16libc: auxv: Move auxv.h to sys/auxv.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-16libc: auxv: Add missing includeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-15libc: Add size_t typeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-15libc: elf: Include correct headerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-15libc: Reimplement stdint.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-15libc: Add bits/_types.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-15libc: stddef: Handle NULL for C++Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-15libc: exit: Use _NoreturnIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-15libc: Fix styleIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-15libc: Add missing unistd.h headerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>