Commit Graph

114 Commits

Author SHA1 Message Date
K. Lange
045e511d74 libc: fscanf stubs 2018-10-10 11:30:25 +09:00
K. Lange
3d780117c3 libc: working wcstombs and mbstowcs 2018-10-10 11:01:30 +09:00
K. Lange
c64d881181 libc: bad, bsd-style mktemp (also add user app) 2018-10-10 10:11:28 +09:00
K. Lange
bd7ecfa03b libc: remove duplicate str functions 2018-10-10 10:10:11 +09:00
K. Lange
5cec6037ee libc: stub sscanf 2018-10-10 10:06:13 +09:00
K. Lange
14e8a6ea7f libc: add naive bsearch 2018-10-10 09:35:09 +09:00
K. Lange
2498ee21f6 strtol and family 2018-10-10 09:13:54 +09:00
K. Lange
d3907663d0 libc: more string functions 2018-10-10 08:42:52 +09:00
K. Lange
85d197c810 isprint: match isspace 2018-10-09 21:41:24 +09:00
K. Lange
f3c800b791 add logname, getlogin() 2018-10-09 20:35:53 +09:00
K. Lange
11772506bb kernel, libc: tty names 2018-10-09 19:56:45 +09:00
K. Lange
9c30e8263d kill(2): sets errno 2018-10-08 10:23:10 +09:00
K. Lange
3e14c62bdc Fix up strerror strings 2018-10-08 10:22:48 +09:00
K. Lange
cdcc0edb0b execve should set errno 2018-09-28 13:10:32 +09:00
K. Lange
94b63c3083 z as a size specifier in printf 2018-09-25 18:44:22 +09:00
K. Lange
4cde60c50e add unsetenv 2018-09-23 12:06:25 +09:00
K. Lange
a6f96243e2 Add ceil 2018-09-22 21:26:04 +09:00
K. Lange
987fc56708 consolidate math 2018-09-22 18:28:41 +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
fcddbea188 fix exp() 2018-09-22 17:33:38 +09:00
K. Lange
8bdca7fdda tan, atan 2018-09-21 21:34:53 +09:00
K. Lange
379b262d64 Add optional warnings to bad libm functions 2018-09-21 20:36:05 +09:00
K. Lange
0821cc05d1 add hypot 2018-09-21 20:26:22 +09:00
K. Lange
a6acbef8fe strcasecmp 2018-09-21 20:05:00 +09:00
K. Lange
1d05b03808 fpu atan2 2018-09-18 16:20:19 +09:00
K. Lange
6a76b257f4 add atexit() 2018-09-15 16:26:45 +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
ee34f63d55 getopt: handle non-long --foo like glibc does 2018-09-07 10:19:14 +09:00
K. Lange
191609c30f poll wrapper around fswait2 (experimental; no POLLOUT, no POLLPRI) 2018-08-31 12:31:35 +09:00
K. Lange
bea8d8f6db libc updates 2018-08-21 21:50:52 +09:00
K. Lange
64ae8d07bd fixup environ handling 2018-08-14 14:39:48 +09:00
K. Lange
320a8c55ee Remove . from default PATH 2018-08-14 14:04:53 +09:00
K. Lange
001f253ef0 printf %u 2018-08-08 15:03:47 +09:00
K. Lange
ae6532607a Add libc wrappers for some syscalls, remove unused syscall.h imports 2018-08-02 13:13:27 +09:00
K. Lange
bd3f1b0334 get/sethostname 2018-08-02 03:40:43 +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
89d107374c provide dlfcn in libc 2018-07-19 19:04:17 +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
1ecdb29e51 chown in libc 2018-07-18 12:37:21 +09:00
K. Lange
b1fe4fa4ce More errno stuff 2018-07-18 10:45:42 +09:00
K. Lange
dace5d456b Various errno-related fixes 2018-07-18 10:25:01 +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