mes/lib/linux
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
..
x86-mes-gcc build: Simplify. 2019-06-08 15:36:22 +02:00
x86-mes-mescc build: Simplify. 2019-06-08 15:36:22 +02:00
x86_64-mes-gcc build: Simplify. 2019-06-08 15:36:22 +02:00
x86_64-mes-mescc build: Simplify. 2019-06-08 15:36:22 +02:00
_getcwd.c mescc: Mes C library: Move common getcwd, open bits to posix. 2019-06-25 23:10:52 +02:00
_open3.c mescc: Mes C Library: Add buffered read. 2019-07-27 22:58:49 +02:00
_read.c mescc: Mes C Library: Move posix bits to read. 2019-06-25 01:58:15 +02:00
access.c build: Simplify. 2019-06-08 15:36:22 +02:00
brk.c build: Simplify. 2019-06-08 15:36:22 +02:00
chdir.c build: Simplify. 2019-06-08 15:36:22 +02:00
chmod.c build: Simplify. 2019-06-08 15:36:22 +02:00
clock_gettime.c build: Simplify. 2019-06-08 15:36:22 +02:00
close.c mescc: Mes C Library: Add buffered read. 2019-07-27 22:58:49 +02:00
dup.c build: Simplify. 2019-06-08 15:36:22 +02:00
dup2.c build: Simplify. 2019-06-08 15:36:22 +02:00
execve.c build: Simplify. 2019-06-08 15:36:22 +02:00
fcntl.c build: Simplify. 2019-06-08 15:36:22 +02:00
fork.c build: Simplify. 2019-06-08 15:36:22 +02:00
fstat.c build: Simplify. 2019-06-08 15:36:22 +02:00
fsync.c build: Simplify. 2019-06-08 15:36:22 +02:00
getdents.c build: Simplify. 2019-06-08 15:36:22 +02:00
getegid.c build: Simplify. 2019-06-08 15:36:22 +02:00
geteuid.c build: Simplify. 2019-06-08 15:36:22 +02:00
getgid.c build: Simplify. 2019-06-08 15:36:22 +02:00
getpid.c build: Simplify. 2019-06-08 15:36:22 +02:00
getppid.c build: Simplify. 2019-06-08 15:36:22 +02:00
getrusage.c build: Simplify. 2019-06-08 15:36:22 +02:00
gettimeofday.c build: Simplify. 2019-06-08 15:36:22 +02:00
getuid.c build: Simplify. 2019-06-08 15:36:22 +02:00
ioctl.c build: Simplify. 2019-06-08 15:36:22 +02:00
kill.c build: Simplify. 2019-06-08 15:36:22 +02:00
link.c build: Simplify. 2019-06-08 15:36:22 +02:00
lseek.c mescc: Mes C Library: Add buffered read. 2019-07-27 22:58:49 +02:00
lstat.c build: Simplify. 2019-06-08 15:36:22 +02:00
mkdir.c build: Simplify. 2019-06-08 15:36:22 +02:00
nanosleep.c build: Simplify. 2019-06-08 15:36:22 +02:00
pipe.c build: Simplify. 2019-06-08 15:36:22 +02:00
read.c build: Simplify. 2019-06-08 15:36:22 +02:00
rename.c build: Simplify. 2019-06-08 15:36:22 +02:00
rmdir.c build: Simplify. 2019-06-08 15:36:22 +02:00
setgid.c build: Simplify. 2019-06-08 15:36:22 +02:00
settimer.c build: Simplify. 2019-06-08 15:36:22 +02:00
setuid.c build: Simplify. 2019-06-08 15:36:22 +02:00
signal.c build: Simplify. 2019-06-08 15:36:22 +02:00
sigprogmask.c build: Simplify. 2019-06-08 15:36:22 +02:00
stat.c build: Simplify. 2019-06-08 15:36:22 +02:00
time.c build: Simplify. 2019-06-08 15:36:22 +02:00
unlink.c build: Simplify. 2019-06-08 15:36:22 +02:00
waitpid.c build: Simplify. 2019-06-08 15:36:22 +02:00