mes/lib/stdio
Jan Nieuwenhuizen dd0a0d779a
build: Improve --with-system-libc support.
* build-aux/build-lib.sh: Avoid building libc for --with-system-libc.
Make libmes richer.
build-aux/check-mescc.sh: Enable 50-malloc test.
* include/dirstream.h: Use HAVE_DIRSTREAM_H to cater for non-existing
dirstream.h.
* include/grp.h[SYSTEM_LIBC]: Typo.
* include/mes/lib.h (__brk, __call_at_exit)[SYSTEM_LIBC]: Declare.
* include/stdlib.h (comparison_fn_t)[SYSTEM_LIBC]: Declare.
* include/time.h (mktime): Return time_t.
* lib/posix/isatty.c [SYSTEM_LIBC]: Do not (re)declare termios.
* lib/stub/mktime.c (mktime): Return time_t.
* lib/tests/scaffold/41-ternary.c (main): Remove assumption that
locals are initialized.
* lib/tests/scaffold/70-stdarg.c: Cater for SYSTEM_LIBC.
* lib/tests/setjmp/80-setjmp.c: Declare jmp buf.
* lib/*/*.c: Add missing mes/lib.h, errno.h includes.
2019-06-25 19:05:58 +02:00
..
clearerr.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
fclose.c build: Simplify. 2019-06-08 15:36:22 +02:00
fdopen.c build: Simplify. 2019-06-08 15:36:22 +02:00
feof.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
ferror.c build: Simplify. 2019-06-08 15:36:22 +02:00
fflush.c build: Simplify. 2019-06-08 15:36:22 +02:00
fgetc.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
fgets.c build: Simplify. 2019-06-08 15:36:22 +02:00
fileno.c build: Simplify. 2019-06-08 15:36:22 +02:00
fopen.c build: Simplify. 2019-06-08 15:36:22 +02:00
fprintf.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
fputc.c mescc: Mes C Library: Fix compile warnings. 2019-05-26 13:41:00 +02:00
fputs.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
fread.c build: Simplify. 2019-06-08 15:36:22 +02:00
freeopen.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
freopen.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
fseek.c build: Simplify. 2019-06-08 15:36:22 +02:00
ftell.c build: Simplify. 2019-06-08 15:36:22 +02:00
fwrite.c build: Simplify. 2019-06-08 15:36:22 +02:00
getc.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
getchar.c mescc: Mes C Library: Use __ as global internal prefix. 2019-03-02 12:35:18 +01:00
perror.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
printf.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
putc.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
putchar.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
remove.c build: Simplify. 2019-06-08 15:36:22 +02:00
snprintf.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
sprintf.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
sscanf.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
ungetc.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
vfprintf.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
vprintf.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
vsnprintf.c build: Simplify. 2019-06-08 15:36:22 +02:00
vsprintf.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
vsscanf.c build: Simplify. 2019-06-08 15:36:22 +02:00