mes/lib/linux
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
..
x86-mes mescc: Mes C Library: Cleanup start files. 2018-08-12 08:45:04 +02:00
x86-mes-gcc mescc: Mes C Library: Cleanup start files. 2018-08-12 08:45:04 +02:00
x86_64-mes-gcc mescc: Mes C Library: Cleanup start files. 2018-08-12 08:45:04 +02:00
gnu.c mescc: Mes C Library: Add closedir, opendir, readdir. 2018-08-26 18:34:53 +02:00
libc-mini.c mescc: Mes C Library: Explode libmes.c. 2018-08-16 11:43:27 +02:00
libc.c mescc: Mes C Library: Add x86_64 libc support. 2018-08-11 11:42:30 +02:00
tcc.c mescc: Mes C Library: Add x86_64 libc+tcc support. 2018-08-11 18:39:48 +02:00