Bananymous
8ec675cca6
LibC: fix bugs with printf
2023-05-15 22:47:08 +03:00
Bananymous
49fe3d0d4f
LibC: add probably functional *printf
...
I wrote a general printf function that takes an putc function
pointer. We can use this to implement all the printf family
functions. I haven't done thorough testing with this, but it seems
to be functional for the most part
2023-05-10 02:00:28 +03:00
Bananymous
ff2e2937a5
Kernel: Remove offset from OpenFileDescriptor
...
This is now handled on the libc side. There might be reasons to
have it in kernel side, but for simplicity's sake I'm moving it
to libc for now :)
2023-05-09 20:31:22 +03:00
Bananymous
0cc1fb53d5
LibC: Fix bug in *printf
2023-05-09 20:30:12 +03:00
Bananymous
054c5450df
LibC: syscall() now returns -1 on error and updates errno
2023-05-07 01:51:39 +03:00
Bananymous
1d42b26fce
LibC: Fix some bugs
2023-04-25 13:27:01 +03:00
Bananymous
79812b34b0
LibC: fread() now does a single syscall
2023-04-25 12:38:08 +03:00
Bananymous
cd74b2167d
LibC: Write mostly functioning stdio
2023-04-23 14:32:37 +03:00
Bananymous
ff8c0086e2
LibC: puts() now just calls syscall(SYS_WRITE, ...)
2023-04-22 15:29:38 +03:00
Bananymous
a5830c5424
LibC: add stubs for a lot of functions
2023-04-05 23:58:40 +03:00