|
6507146c60
|
libc: Add Luna-specific limits
|
2022-10-15 14:31:55 +02:00 |
|
|
c77e752a82
|
libc: Implement fileno()
|
2022-10-15 10:28:52 +02:00 |
|
|
0e64c57e10
|
libc: Change __{stderr, stdout} to {stderr, stdout}
|
2022-10-14 19:23:14 +02:00 |
|
|
3b83d7ccaf
|
libc: Implement fsetpos() and fgetpos()
Not much to do, since these are kind of equivalent to fseek() and ftell().
|
2022-10-14 19:12:40 +02:00 |
|
|
de6041fede
|
libc: Add fdopen()
|
2022-10-12 20:19:13 +02:00 |
|
|
edda41a7bb
|
libc: Implement fseek(), ftell() and rewind()
All three use the new syscall seek() (with its lseek() wrapper in unistd.h)!!
|
2022-10-12 15:56:03 +02:00 |
|
|
4a5db1dca7
|
libc: Add lseek()
|
2022-10-12 15:37:29 +02:00 |
|
|
b42c866db8
|
Correct description for fopen()
|
2022-10-12 11:58:07 +02:00 |
|
|
6aabe19fb4
|
libc: Document the functions in stdio.h
|
2022-10-12 11:51:32 +02:00 |
|
|
44834b8a0f
|
libc: Implement fputs, fputc, putc and putchar
|
2022-10-12 10:05:14 +02:00 |
|
|
80ab982fe4
|
libc: make stdout and stderr functional
what were before one extern FILE* without reference now are opened by libc on program initialization, to point to /dev/console by default.
|
2022-10-11 21:08:46 +02:00 |
|
|
6c51477197
|
libc: Implement ferror() and feof()
|
2022-10-11 16:57:08 +02:00 |
|
|
93f6be9319
|
libc: Implement the start of a FILE* API (the standard, portable C way of doing file stuff)
|
2022-10-10 21:08:57 +02:00 |
|
|
ee7558a9b7
|
Add a perror() function
|
2022-10-08 12:42:25 +02:00 |
|
|
cb60e418b2
|
Add vprintf, (v)sprintf and (v)snprintf to libc + move the non v-printfs to stdio.cpp, since they can now call their v-variants and thus don't depend on internal_printf
|
2022-10-03 19:59:33 +02:00 |
|
|
34aa953dbc
|
Add printf() and puts(), quite primitive, looks like hex printing isn't there yet...
|
2022-10-03 19:00:10 +02:00 |
|
|
fcf5923cc0
|
WIP: Add a C Library, let's try to compile a Hosted GCC cross-compiler using this!
|
2022-10-01 20:59:22 +02:00 |
|