banan-os/libc
Bananymous 00d57d783e LibC+userspace: Make everything compile with -Wall -Wextra -Werror
I added -Wall -Wextra -Werror as public compile flags to libc. Now
everything in userspace in compiled using these flags. I made all
necessary changes to allow compilation to work.

Only exception is execvp which has a large stack usage. Maybe it
should use malloc for the buffer but posix allows ENOMEM only when
kernel is out of memory... This can be fixed when fexecve is
implemented and there is no need for absolute path.
2023-12-10 19:20:14 +02:00
..
arch/x86_64 Kernel/LibC: Add crt* files to LibC and remove crt0 from kernel 2023-10-30 11:06:13 +02:00
include LibC: Remove unnecessary RWX mask definition 2023-12-09 19:43:49 +02:00
sys Kernel/LibC: Implement very basic msync 2023-11-22 22:44:06 +02:00
.gitignore Initial commit. We have a booting kernel 2022-11-12 21:04:47 +02:00
CMakeLists.txt LibC+userspace: Make everything compile with -Wall -Wextra -Werror 2023-12-10 19:20:14 +02:00
assert.cpp LibC: Rewrite all the headers. 2023-05-26 22:31:21 +03:00
ctype.cpp LibC: add toupper, tolower in ctype.h 2023-05-10 23:13:56 +03:00
dirent.cpp All: Clear lines with only whitspace in them 2023-09-10 00:31:42 +03:00
fcntl.cpp Kernel/LibC/Userspace: Implement mkdir and creat 2023-10-25 21:07:26 +03:00
icxxabi.cpp LibC: implement and call __cxa_finalize() on exit() 2023-10-30 11:10:08 +02:00
malloc.cpp LibC: mmap returns MAP_FAILED instead of NULL 2023-09-29 10:38:08 +03:00
math.S LibC: add math.h with floorl 2023-05-10 22:35:42 +03:00
printf_impl.cpp LibC: Implement length modifiers to printf 2023-09-28 11:42:57 +03:00
pwd.cpp LibC+userspace: Make everything compile with -Wall -Wextra -Werror 2023-12-10 19:20:14 +02:00
signal.cpp Kernel: Remove unnecessary raise syscall 2023-12-06 13:00:45 +02:00
stdio.cpp LibC+userspace: Make everything compile with -Wall -Wextra -Werror 2023-12-10 19:20:14 +02:00
stdlib.cpp LibC: implement and call __cxa_finalize() on exit() 2023-10-30 11:10:08 +02:00
string.cpp LibC: Implement and fix some string.h functions 2023-12-06 18:13:34 +02:00
termios.cpp Kernel: Add bareboness possibility to set termios 2023-05-26 22:31:21 +03:00
time.cpp LibC: add time() implementation 2023-09-04 13:52:58 +03:00
unistd.cpp LibC: Implement basic execvp 2023-12-06 18:14:00 +02:00