mes/lib
Jan Nieuwenhuizen fa4ba916ea
mescc: Mes C Library: Add closedir, opendir, readdir.
* include/dirent.h: New file.  Import from glibc-2.2.5.
* include/dirstream.h: Likewise.
* lib/dirent/__getdirentries.c: Likewise.
* lib/dirent/closedir.c: Likewise.
* lib/dirent/readdir.c (readdir): Likewise.
* lib/libc+gnu.c: Include them.
* include/linux/x86/syscall.h (SYS_getdents): New macro.
* include/linux/x86_64/syscall.h (SYS_getdents): Likewise.
* lib/linux/gnu.c (getdents): New function.
* include/limits.h (NAME_MAX): New macro.
* include/fcntl.h (O_DIRECTORY): New macro.
* scaffold/tests/readdir.dir: New directory.
* scaffold/tests/99-readdir.c: New file, use it.
* build-aux/check-mescc.sh (tests): Run it.
2018-08-26 18:34:53 +02:00
..
assert core: Prepare for the Hurd. 2018-06-30 13:11:03 +02:00
ctype mescc: Mes C Library: Explode libc+gnu.c. 2018-08-24 20:57:34 +02:00
dirent mescc: Mes C Library: Add closedir, opendir, readdir. 2018-08-26 18:34:53 +02:00
linux mescc: Mes C Library: Add closedir, opendir, readdir. 2018-08-26 18:34:53 +02:00
math mescc: Mes C Library: Explode libc+gnu.c. 2018-08-24 20:57:34 +02:00
mes mescc: Mes C Library: Explode libc+tcc.c. 2018-08-22 07:23:27 +02:00
posix mescc: Mes C Library: Explode libc+gnu.c. 2018-08-24 20:57:34 +02:00
stdio mescc: Mes C Library: Explode libc+gnu.c. 2018-08-24 20:57:34 +02:00
stdlib mescc: Mes C Library: Explode libc+gnu.c. 2018-08-24 20:57:34 +02:00
string mescc: Mes C Library: Explode libc+gnu.c. 2018-08-24 20:57:34 +02:00
stub mescc: Mes C Library: Explode libc+gnu.c. 2018-08-24 20:57:34 +02:00
x86-mes mescc: Mes C Library: Add x86_64 libc+tcc support. 2018-08-11 18:39:48 +02:00
x86-mes-gcc mescc: Mes C Library: Add x86_64 libc+tcc support. 2018-08-11 18:39:48 +02:00
x86_64-mes mescc: Add objdump'able x86_64-mes scaffold. 2018-08-10 11:37:55 +02:00
x86_64-mes-gcc mescc: Mes C Library: Add x86_64 libc+tcc support. 2018-08-11 18:39:48 +02:00
abtol.c mescc: Mes C Library: Explode libmes.c. 2018-08-16 11:43:27 +02:00
glibc.c GNU Mes. 2018-07-22 14:24:36 +02:00
libc+gnu.c mescc: Mes C Library: Add closedir, opendir, readdir. 2018-08-26 18:34:53 +02:00
libc+tcc.c mescc: Mes C Library: Explode libc+tcc.c. 2018-08-22 07:23:27 +02:00
libc-mini.c mescc: Mes C Library: Explode libc-mini.c. 2018-08-16 11:07:33 +02:00
libc.c mescc: Mes C Library: Explode libc.c. 2018-08-16 10:50:53 +02:00
libg.c mescc: Mes C Library: Explode libc+gnu.c. 2018-08-24 20:57:34 +02:00
libgetopt.c mescc: Mes C Library: Explode libc+gnu.c. 2018-08-24 20:57:34 +02:00
libmes.c mescc: Mes C Library: Explode libmes.c. 2018-08-16 11:43:27 +02:00
libtcc1.c GNU Mes. 2018-07-22 14:24:36 +02:00