mes/include
Jan Nieuwenhuizen ef29ade04b
mescc: Mes C Library: Add buffered read.
* lib/mes/__buffered_read.c: New file.
* build-aux/configure-lib.sh (libc_SOURCES): Add it.  Also add memmove.c.
(libc_tcc_SOURCES): Remove memmove.c
* lib/linux/close.c (close): Clear read buffer.
* lib/linux/_open3.c (_open3): Likewise.
* lib/linux/lseek.c (lseek): Correct for read buffer.
* lib/stdio/fwrite.c (fwrite): Likewise.
* lib/posix/read.c (read): Call __buffered_read.
* lib/posix/write.c (write): Add FIXME note about buffered reads.
* simple.sh: Update.
2019-07-27 22:58:49 +02:00
..
linux build: Simplify. 2019-06-08 15:36:22 +02:00
mes mescc: Mes C Library: Add buffered read. 2019-07-27 22:58:49 +02:00
sys mescc: Support tcc: Add intptr_t, uintptr_t. 2019-07-17 22:54:13 +02:00
alloca.h mescc: Mes C Library: Avoid type/size_t conflicts. 2019-06-01 08:44:18 +02:00
ar.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
argz.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
assert.h build: Simplify. 2019-06-08 15:36:22 +02:00
ctype.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
dirent.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
dirstream.h build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
dlfcn.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
endian.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
errno.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
fcntl.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
features.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
float.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
getopt.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
grp.h build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
inttypes.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
libgen.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
limits.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
locale.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
math.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
memory.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
pwd.h build: Simplify. 2019-06-08 15:36:22 +02:00
setjmp.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
signal.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
stdarg.h build: Simplify. 2019-06-08 15:36:22 +02:00
stdbool.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
stddef.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
stdint.h mescc: Mes C Library: Avoid type/size_t conflicts. 2019-06-01 08:44:18 +02:00
stdio.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
stdlib.h build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
stdnoreturn.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
string.h build: Simplify. 2019-06-08 15:36:22 +02:00
strings.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
termio.h mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
time.h build: Improve --with-system-libc support. 2019-06-25 19:05:58 +02:00
unistd.h build: Simplify. 2019-06-08 15:36:22 +02:00