mes/lib/mes
Jan Nieuwenhuizen 7d2e0f1215
core: Support redirection of stderr.
* include/libmes-mini.h (g_stderr): New global.
* lib/mes/eputc.c (eputc): Use it.
* lib/mes/eputs.c (eputs): Likewise.
* lib/mes/oputc.c (oputc): Likewise.
* lib/mes/oputs.c (oputs): Likewise.
* src/lib.c (display_error_, write_error_): Likewise.
* src/posix.c (write_byte): Likewise.
* src/mes.c (mes_builtins): Likewise.
(main): Iniitalize g_stderr.
* src/posix.c (current_error_port, set_current_error_port): New
function.
* mes/module/mes/boot-0.scm.in (current-output-port,
current-error-port): Remove.
2018-11-11 10:04:03 +01:00
..
abtol.c mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
eputc.c core: Support redirection of stderr. 2018-11-11 10:04:03 +01:00
eputs.c core: Support redirection of stderr. 2018-11-11 10:04:03 +01:00
fdgetc.c mescc: Mes C Library: Explode libmes.c. 2018-08-16 11:43:27 +02:00
fdputc.c mescc: Mes C Library: Explode libmes.c. 2018-08-16 11:43:27 +02:00
fdputs.c mescc: Mes C Library: Explode libmes.c. 2018-08-16 11:43:27 +02:00
fdungetc.c mescc: Mes C Library: Explode libmes.c. 2018-08-16 11:43:27 +02:00
itoa.c mescc: Mes C Library: Explode libmes.c. 2018-08-16 11:43:27 +02:00
ltoa.c mescc: Mes C Library: Add ltoa. 2018-10-06 11:59:20 +02:00
ltoab.c mescc: Mes C Library: Explode libmes.c. 2018-08-16 11:43:27 +02:00
ntoab.c mescc: Mes C Library: Explode libmes.c. 2018-08-16 11:43:27 +02:00
oputc.c core: Support redirection of stderr. 2018-11-11 10:04:03 +01:00
oputs.c core: Support redirection of stderr. 2018-11-11 10:04:03 +01:00
search-path.c mescc: Mes C Library: Explode libc+tcc.c. 2018-08-22 07:23:27 +02:00
ultoa.c mescc: Mes C Library: Add ultoa. 2018-10-06 12:02:16 +02:00
utoa.c mescc: Mes C Library: Add ultoa. 2018-10-06 12:02:16 +02:00