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
93f39e4bbf
Run libcc.ansi through clang-format.
2018-06-21 22:33:47 +02:00
dtrg
1c83baa702
Adapted for ANSI C and our pseudo-Posix syscall interface.
2007-04-21 23:18:14 +00:00
ceriel
6ec3dd7ebd
fix in flushbuf: make sure it does not return EOF when it actually succeeds
1996-04-24 13:06:00 +00:00
ceriel
1db6a3029b
Header --> Id
1994-06-24 14:02:31 +00:00
ceriel
7eb7218667
Fixed bug in flushbuf: did not reset stream->_ptr on write error
1993-01-14 10:02:28 +00:00
ceriel
9e9e7db6b4
Fixed flushbuf() so that it works with POSIX conformant Unix versions
1991-06-10 17:07:18 +00:00
ceriel
cf10cabb6f
fixed problems with flushbuf
1991-02-22 16:45:47 +00:00
eck
90819543f6
changed system-calls to avoid namespace pollution
1990-01-22 11:13:26 +00:00
eck
2f92b46a9d
made a lot of changes
1989-12-18 15:04:14 +00:00
eck
27d7d5ed68
various fixes and improvements
1989-06-26 10:37:05 +00:00
eck
69f02d8abc
Initial revision
1989-05-30 13:34:25 +00:00