Commit Graph

142 Commits

Author SHA1 Message Date
K. Lange
eeff7d7db9 libc: fix silly comparison mistake in scanf 2018-11-23 10:41:45 +09:00
K. Lange
41b5e640bf libc: add mkstemp 2018-11-22 16:27:07 +09:00
K. Lange
6d110161a9 libc: fix malloc assert to not call malloc 2018-11-21 22:06:28 +09:00
K. Lange
6a0845d54a dirname: add command and libc function 2018-11-18 09:56:43 +09:00
K. Lange
558a273828 basename: libc function 2018-11-18 09:47:23 +09:00
K. Lange
673e1e90c9 libc: support + in printf and any flag ordering 2018-11-08 15:44:00 +09:00
K. Lange
b73316b5f5 libc: change some math debugging 2018-11-08 15:23:40 +09:00
K. Lange
6bde148d27 libc: system should return WEXITSTATUS(status) 2018-11-05 13:51:29 +09:00
K. Lange
0762fb30ce libc: getlogin should not query fd directly 2018-10-31 11:39:56 +09:00
K. Lange
b42c185421 sudo: support euids with setuid binaries 2018-10-31 10:28:41 +09:00
K. Lange
35c29e9b4d kernel: getpgid; esh: fixups 2018-10-30 13:28:11 +09:00
K. Lange
6c88956fa4 job control 2018-10-26 20:34:15 +09:00
K. Lange
3fc0ccef4f libc: crt's to GNU as 2018-10-13 15:53:16 +09:00
K. Lange
b5b2efd8da libc: strncasecmp that more closely matches strncmp 2018-10-12 15:55:18 +09:00
K. Lange
399a1f2e0c libc: qsort: bail early when sizes are 0 2018-10-12 15:53:54 +09:00
K. Lange
23e3681c21 libc: add loud debugging to execve 2018-10-12 15:40:45 +09:00
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
e492f967c0 libc: fix bad strncmp 2018-10-12 13:10:46 +09:00
K. Lange
ffa655ad9d libc: add stub alarm 2018-10-12 12:45:48 +09:00
K. Lange
09c407235e libc: stub __cxa_atexit 2018-10-12 11:30:30 +09:00
K. Lange
b33815c632 libc: support for building libstdc++? 2018-10-12 10:35:28 +09:00
K. Lange
7d2378085c libc: revert isspace for isprint 2018-10-11 15:30:38 +09:00
K. Lange
fa56c864b1 libc: fix conflicting, redundant getenv declaration in execvp 2018-10-10 23:21:11 +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
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