Commit Graph

35 Commits

Author SHA1 Message Date
K. Lange
5651875d4b libc: qsort_r 2022-08-26 05:32:00 +09:00
K. Lange
0f8184bc9e libc: make srand repeatable and better for seeding with time 2022-03-27 16:48:02 +09:00
K. Lange
992d805f25 libc: use munmap sysfunc in free() for 'big bins' 2022-03-06 15:58:59 +09:00
K. Lange
18a4e78336 aarch64: More cleanup 2022-02-02 12:08:44 +09:00
K. Lange
b53a56fe72 aarch64: begin work on new target 2022-01-30 21:25:27 +09:00
K. Lange
98bcb40671 nproc: Expose processor count and use it to pick between yielding and non-yielding spin locks 2021-09-02 17:27:21 +09:00
K. Lange
7925346edf libc: that xor-swap is silly and probably also slower 2021-08-28 19:55:43 +09:00
K. Lange
7975697786 libc: Implement an actual quicksort for qsort... 2021-08-28 19:50:54 +09:00
K. Lange
222c39bc6b libc: rand() should not return negative values 2021-06-14 19:55:44 +09:00
K. Lange
b35f7ac8c9 misaka: initial merge 2021-05-31 10:54:11 +09:00
K. Lange
230870ad7b kernel, linker, libc: Initial, probably horribly broken, support for some TLS situations 2021-02-16 18:49:34 +09:00
K. Lange
ec08e125ec libc: fix major issue in strtox 2021-01-23 20:00:24 +09:00
K. Lange
acdb4a71b9 libc: add realpath (with ToaruOS path mechanics; not Unix) 2019-06-29 20:36:48 +09:00
K. Lange
6d12735370 libc: fix parse mistake in strtoul 2018-12-27 21:15:36 +09:00
K. Lange
288bcc3b38 libc: fix bad digit check for strtoul base>10 2018-12-22 12:50:36 +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
6bde148d27 libc: system should return WEXITSTATUS(status) 2018-11-05 13:51:29 +09:00
K. Lange
399a1f2e0c libc: qsort: bail early when sizes are 0 2018-10-12 15:53:54 +09:00
K. Lange
b33815c632 libc: support for building libstdc++? 2018-10-12 10:35:28 +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
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
4cde60c50e add unsetenv 2018-09-23 12:06:25 +09:00
K. Lange
6a76b257f4 add atexit() 2018-09-15 16:26:45 +09:00
K. Lange
64ae8d07bd fixup environ handling 2018-08-14 14:39:48 +09:00
K. Lange
79ac5ba9b1 Fix several Python things 2018-06-26 20:53:48 +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
fc37b60272 add rand() 2018-05-09 19:43:02 +09:00
K. Lange
643049ff32 atol ~= atoi, labs 2018-05-09 16:55:10 +09:00
K. Lange
300d5b78ca Add incredibly bad atof 2018-05-02 19:43:33 +09:00
K. Lange
2a4914057c Add putenv, setenv 2018-05-02 19:25:03 +09:00
K. Lange
4c8f8e43fb Use subdirectories for libc based on headers 2018-05-02 11:59:30 +09:00