tkchia
80d1932ff8
libcc.ansi: make abort() try harder to abort the process
2022-07-16 07:27:46 +00:00
David Given
53a3630d2c
Don't try to allocate a ridiculous 1025 bytes on the stack (which completely
...
explodes on CP/M).
2020-02-05 23:05:33 +01:00
David Given
1bd6a9d4fa
Add an itoa() function, following the most common prototype I can find.
2019-06-24 20:52:56 +02:00
David Given
3131dc9915
Partially working port of stdio to CP/M. I'm not sure this will work; it's
...
getting way too complicated (stdio is horribly subtle). I think I need to
rethink things.
2019-06-15 22:22:01 +02:00
David Given
1387c8713b
Now that printf and scanf contain no FILE*-specific code, we can move them into
...
core (and split them up).
2019-06-15 13:53:20 +02:00
David Given
3f10299f43
Move the portable time code into core. clock() goes into sys (as it calls
...
times()).
2018-06-23 19:49:29 +02:00
David Given
6a729b846a
Move stdio into (mostly) sys.
2018-06-23 18:54:40 +02:00
David Given
af22b7ea85
Change stdio to use atexit() rather than the internal __clean variable; this
...
breaks the dependency between exit/atexit and stdio. Buffers are no longer
flushed on abort() (because it's pretty risky). Move the relevant functions
into sys/core.
2018-06-23 18:35:45 +02:00
David Given
c4e4505a73
Move the errno functions into core.
2018-06-23 17:52:15 +02:00
David Given
dd0f959245
Move assert into core.
2018-06-23 11:16:06 +02:00
David Given
5fd8d772fd
Move the string-to-float functions into core, after marking them as
...
ACKCONF_WANT_FLOAT.
2018-06-23 11:14:24 +02:00
David Given
94ffa3ba88
libc floating point and stdio floating point can now be turned on and off using
...
ACKCONF variables.
2018-06-23 00:04:14 +02:00
David Given
c0276416d8
Move some more libc functions into core.
2018-06-22 22:20:02 +02:00
David Given
d1cdb07719
Realise that the libc core can safely call other libc core functions, even if
...
they're not defined in the core: so putw() can call stdio stuff, for example.
So the earlier concept of pureness isn't necessary. Rename accordingly.
2018-06-21 23:24:23 +02:00