|
41f7232b77
|
Devices: Return EOF after first read for some devices
Still not optimal.
|
2022-10-26 20:54:47 +02:00 |
|
|
13fce2c4b3
|
libc: Update headers with more comments
|
2022-10-25 19:27:24 +02:00 |
|
|
b615166373
|
libc: Stub out tmpfile() as well as add an empty math.h
|
2022-10-23 18:58:48 +02:00 |
|
|
9dc8bfbdce
|
libc: Define a dummy FILENAME_MAX
|
2022-10-23 11:17:22 +02:00 |
|
|
bd8825231a
|
libc: Stub out sscanf()
|
2022-10-23 11:16:36 +02:00 |
|
|
c02f2e128d
|
libc: Stub out ungetc()
|
2022-10-23 10:34:49 +02:00 |
|
|
0c33fcdff2
|
libc: Stub out setvbuf, and add S_ISREG
|
2022-10-23 10:09:20 +02:00 |
|
|
06f9ffc184
|
libc: Add EXIT_SUCCESS, EXIT_FAILURE, RAND_MAX and BUFSIZ
|
2022-10-22 21:39:51 +02:00 |
|
|
a4eed362b6
|
libc: Implement fseeko() and ftello()
|
2022-10-22 12:41:15 +02:00 |
|
|
759c8a8cab
|
libc: Make fpos_t no longer a struct
|
2022-10-22 12:39:37 +02:00 |
|
|
6dc51abfc8
|
libc: Add remove() stub
|
2022-10-22 12:20:05 +02:00 |
|
|
27a18a608c
|
libc: Implement fgets, fgetc, getc, getchar (with buffered read IO)
|
2022-10-22 11:38:16 +02:00 |
|
|
aebd860947
|
libc: Add stdin
Aka keyboard :)
|
2022-10-19 20:43:04 +02:00 |
|
|
aa90e4a8d9
|
libc: Implement freopen()
|
2022-10-19 17:32:59 +02:00 |
|
|
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 |
|