mes/include
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
..
linux mescc: Support GNU make with POSIX. 2018-11-10 08:32:42 +01:00
sys mescc: Support GNU Bash. 2018-11-09 21:26:10 +01:00
alloca.h GNU Mes. 2018-07-22 14:24:36 +02:00
ar.h mescc: Mes C Library: Support make: Add chdir, getlogin, setvbuf, sigblock. 2018-08-26 22:41:52 +02:00
argz.h GNU Mes. 2018-07-22 14:24:36 +02:00
assert.h GNU Mes. 2018-07-22 14:24:36 +02:00
ctype.h GNU Mes. 2018-07-22 14:24:36 +02:00
dirent.h mescc: Mes C Library: Add closedir, opendir, readdir. 2018-08-26 18:34:53 +02:00
dirstream.h mescc: Mes C Library: Add closedir, opendir, readdir. 2018-08-26 18:34:53 +02:00
dlfcn.h GNU Mes. 2018-07-22 14:24:36 +02:00
endian.h GNU Mes. 2018-07-22 14:24:36 +02:00
errno.h mescc: Support GNU Bash. 2018-11-09 21:26:10 +01:00
fcntl.h mescc: Mes C Library: Add closedir, opendir, readdir. 2018-08-26 18:34:53 +02:00
features.h GNU Mes. 2018-07-22 14:24:36 +02:00
float.h GNU Mes. 2018-07-22 14:24:36 +02:00
getopt.h GNU Mes. 2018-07-22 14:24:36 +02:00
inttypes.h GNU Mes. 2018-07-22 14:24:36 +02:00
libgen.h GNU Mes. 2018-07-22 14:24:36 +02:00
libmes-mini.h core: Support redirection of stderr. 2018-11-11 10:04:03 +01:00
libmes.h mescc: Mes C Library: oputs: New function. 2018-10-15 15:44:47 +02:00
limits.h mescc: Add INTn_MIN/MAX defines to stdint.h. 2018-10-16 20:40:41 +02:00
locale.h mescc: Support gcc-3.0: Locale header fix. 2018-09-11 07:01:33 +02:00
math.h mescc: Mes C Library: Explode libc+gnu.c. 2018-08-24 20:57:34 +02:00
memory.h GNU Mes. 2018-07-22 14:24:36 +02:00
pwd.h mescc: Support GNU Bash. 2018-11-09 21:26:10 +01:00
setjmp.h mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
signal.h mescc: Support GNU make with POSIX. 2018-11-10 08:32:42 +01:00
stdarg.h mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
stdbool.h GNU Mes. 2018-07-22 14:24:36 +02:00
stddef.h mescc: Mes C Library: Do not redefine size_t. 2018-09-01 16:55:45 +02:00
stdint.h mescc: Support GNU Bash. 2018-11-09 21:26:10 +01:00
stdio.h core: Support redirection of stderr. 2018-11-11 10:04:03 +01:00
stdlib.h mescc: Support GNU Bash. 2018-11-09 21:26:10 +01:00
stdnoreturn.h GNU Mes. 2018-07-22 14:24:36 +02:00
string.h mescc: Support GNU Bash. 2018-11-09 21:26:10 +01:00
strings.h GNU Mes. 2018-07-22 14:24:36 +02:00
termio.h mescc: Support GNU Bash. 2018-11-09 21:26:10 +01:00
time.h core: Support time functions. 2018-10-20 14:18:04 +02:00
unistd.h mescc: Support GNU make with POSIX. 2018-11-10 08:32:42 +01:00