Commit Graph

44 Commits

Author SHA1 Message Date
K. Lange
f16fbd458c libc: ftell should return position of read pointer 2018-10-12 15:40:04 +09:00
K. Lange
0df12ea064 libc: loud debugging options 2018-10-12 15:03:22 +09:00
K. Lange
3975b9cd75 libc: absolute minimum sscanf to get cc1 off the ground 2018-10-12 13:51:26 +09:00
K. Lange
5de060b1d5 libc: fwrite: bail quickly if size calcs to 0 2018-10-12 13:50:53 +09:00
K. Lange
b33815c632 libc: support for building libstdc++? 2018-10-12 10:35:28 +09:00
K. Lange
123558727c libc: support # in printf 2018-10-10 21:46:58 +09:00
K. Lange
3fbac34e2c libc: ll size specifiers in printf 2018-10-10 14:27:03 +09:00
K. Lange
045e511d74 libc: fscanf stubs 2018-10-10 11:30:25 +09:00
K. Lange
5cec6037ee libc: stub sscanf 2018-10-10 10:06:13 +09:00
K. Lange
94b63c3083 z as a size specifier in printf 2018-09-25 18:44:22 +09:00
K. Lange
a7fab6fbe8 workaround bug in printf for floats until we fix nprintf 2018-09-22 17:34:48 +09:00
K. Lange
43b021cdc6 Fix stdio/fwrite writing element by element, which is wrong 2018-09-11 13:11:37 +09:00
K. Lange
bea8d8f6db libc updates 2018-08-21 21:50:52 +09:00
K. Lange
001f253ef0 printf %u 2018-08-08 15:03:47 +09:00
K. Lange
ba10025308 perror should use strerror 2018-07-19 22:52:27 +09:00
K. Lange
b9419c756b some missing stdio stuff 2018-07-19 19:12:49 +09:00
K. Lange
c35ccc0722 vasprintf should return int 2018-07-19 18:50:15 +09:00
K. Lange
35a2a4bc5c more filesystem permission things, add rm 2018-07-18 15:35:52 +09:00
K. Lange
b1fe4fa4ce More errno stuff 2018-07-18 10:45:42 +09:00
K. Lange
16905dc784 oops, kinda fix a+? 2018-07-17 19:44:15 +09:00
K. Lange
4873b141ec Properly support w/+ in stdio? 2018-07-17 17:09:22 +09:00
K. Lange
ff1338d137 Replace http-get with new fetch (based on old fetch) 2018-07-01 17:11:35 +09:00
K. Lange
38e380fc49 Fix setvbuf 2018-07-01 09:30:16 +09:00
K. Lange
397b6045b5 precision specifiers for %f 2018-06-30 13:55:45 +09:00
K. Lange
03ab5b9f78 Fix missing execve; add .* printf support for s 2018-06-29 10:42:56 +09:00
K. Lange
79ac5ba9b1 Fix several Python things 2018-06-26 20:53:48 +09:00
K. Lange
146a2240bb Python wants %i for line numbers 2018-06-25 20:22:01 +09:00
K. Lange
bb689dd36c Yet more libc fixes, Python now runs 2018-06-25 20:15:45 +09:00
K. Lange
a97772d208 More printf stuff for python 2018-06-25 19:42:07 +09:00
K. Lange
92fec3ece8 libc fixes 2018-06-25 18:15:02 +09:00
K. Lange
5cd281a1a6 More libc for Python (almost done) 2018-06-25 15:45:32 +09:00
K. Lange
a404c0f0af Enough to build lua 2018-06-25 13:15:09 +09:00
K. Lange
a283332be6 At least define a bunch of libc stuff 2018-06-25 12:11:33 +09:00
K. Lange
08e3f58146 Some bad locale functions 2018-06-10 19:31:18 +09:00
K. Lange
6e1e9a4c97 Experimental, hacky printf(%f) 2018-06-10 19:06:48 +09:00
K. Lange
4a4b316de3 stdio stuff 2018-05-15 12:39:38 +09:00
K. Lange
5a4cfde32d Fix fgetc returning negative values 2018-05-14 22:31:13 +09:00
K. Lange
b23d7a2930 some stuff to get further in python builds 2018-05-09 17:02:31 +09:00
K. Lange
0ca57752a6 feof 2018-05-08 22:49:53 +09:00
K. Lange
5860f11968 fopen(...,"a") should create? 2018-05-08 22:39:30 +09:00
K. Lange
a3b1b253d7 stdio fgets and stuff that actually kinda work correctly 2018-05-04 17:53:31 +09:00
K. Lange
9adae25874 Import some apps from mainline/extre 2018-05-04 13:11:06 +09:00
K. Lange
b8cbbd2af4 Fix negative printing overwriting negative sign 2018-05-02 18:29:38 +09:00
K. Lange
4c8f8e43fb Use subdirectories for libc based on headers 2018-05-02 11:59:30 +09:00