Luna/libs
apio b67011c626 libc: Use the new write() syscall
The new one is write(fd, buf, count).
The old one was write(buf, count).

So the old one tries to pass buf as a file descriptor, and write() complains that 4000000 is too large of a file descriptor and throws EBADF.

We now use the new syscall, through the wrapper that fwrite() provides us.
2022-10-11 21:12:19 +02:00
..
libc libc: Use the new write() syscall 2022-10-11 21:12:19 +02:00
Makefile Update build system 2022-10-02 17:01:30 +02:00