mes/lib/stdio
Jan (janneke) Nieuwenhuizen ca8e9f0342
mescc: Mes C Library: Use casting functions.
Silence all casting errors by using casting functions.

* lib/mes/cast.c: New file.
* build-aux/configure-lib.sh (libmes_SOURCES): Add it.
* lib/m2/cast.c: New file.
* kaem.run: Add it.
* simple.make: Add them both.
* include/mes/lib.h: Add cast prototypes.
* include/m2/lib.h: Likewise.
* lib/linux/_getcwd.c (_getcwd): Use them.
* lib/linux/access.c (access): Likewise.
* lib/linux/brk.c (brk): Likewise.
* lib/linux/chmod.c (chmod): Likewise.
* lib/linux/clock_gettime.c (clock_gettime): Likewise.
* lib/linux/gettimeofday.c (gettimeofday): Likewise.
* lib/linux/unlink.c (unlink): Likewise.
* lib/mes/fdputc.c (fdputc): Likewise.
* lib/stdio/putchar.c (putchar): Likewise.
* lib/linux/malloc.c (malloc): Likewise.
2020-10-18 14:55:24 +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 mescc: Mes C Library: feof: Bugfix for ARM. 2021-01-23 08:43:47 +01:00
ferror.c build: Simplify. 2019-06-08 15:36:22 +02:00
fflush.c mescc: Mes C Library: Support GNU Awk: Do not flush std files. 2019-06-19 11:26:37 +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 mescc: Mes C Library: lseek: Be careful clearing read buffer. 2020-01-20 22:47:52 +01: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 mescc: Mes C Library: Add buffered read. 2019-07-27 22:58:49 +02:00
freopen.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
fscanf.c mescc: Mes C Library: Support gcc-4.6.4: Add fscanf, vfscanf. 2019-09-06 19:04:50 +02:00
fseek.c mescc: Mes C Library: Add buffered read. 2019-07-27 22:58:49 +02:00
ftell.c build: Simplify. 2019-06-08 15:36:22 +02:00
fwrite.c mescc: Mes C Library: Have write behave well with buffered reads. 2019-07-28 13:01:37 +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 mescc: Mes C Library: Use casting functions. 2020-10-18 14:55:24 +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 mescc: Mes C Library: Support gcc-4.6.4: Add fscanf, vfscanf. 2019-09-06 19:04:50 +02:00
ungetc.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
vfprintf.c mescc: Mes C Library: Support gcc-4.6.4: vfprintf, vsnprintf: pad with space. 2019-09-20 14:44:31 +02:00
vfscanf.c hurd: Add stubs for missing libc functions. 2019-12-13 21:52:30 +01:00
vprintf.c build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
vsnprintf.c mescc: Mes C Library: Support gcc-4.6.4: vfprintf, vsnprintf: pad with space. 2019-09-20 14:44:31 +02:00
vsprintf.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
vsscanf.c mescc: Mes C Library: vsscanf: Increase count for scanned float. 2019-08-01 11:01:47 +02:00