mes/include
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
..
linux mescc: Mes C Library: Add closedir, opendir, readdir. 2018-08-26 18:34:53 +02:00
sys mescc: Mes C Library: Add closedir, opendir, readdir. 2018-08-26 18:34:53 +02:00
alloca.h GNU Mes. 2018-07-22 14:24:36 +02:00
argz.h GNU Mes. 2018-07-22 14:24:36 +02:00
assert.h GNU Mes. 2018-07-22 14:24:36 +02:00
ctype.h GNU Mes. 2018-07-22 14:24:36 +02:00
dirent.h mescc: Mes C Library: Add closedir, opendir, readdir. 2018-08-26 18:34:53 +02:00
dirstream.h mescc: Mes C Library: Add closedir, opendir, readdir. 2018-08-26 18:34:53 +02:00
dlfcn.h GNU Mes. 2018-07-22 14:24:36 +02:00
endian.h GNU Mes. 2018-07-22 14:24:36 +02:00
errno.h mescc: Cleanup includes. 2018-08-19 11:17:57 +02:00
fcntl.h mescc: Mes C Library: Add closedir, opendir, readdir. 2018-08-26 18:34:53 +02:00
features.h GNU Mes. 2018-07-22 14:24:36 +02:00
float.h GNU Mes. 2018-07-22 14:24:36 +02:00
getopt.h GNU Mes. 2018-07-22 14:24:36 +02:00
inttypes.h GNU Mes. 2018-07-22 14:24:36 +02:00
libgen.h GNU Mes. 2018-07-22 14:24:36 +02:00
libmes-mini.h mescc: Cleanup includes. 2018-08-19 11:17:57 +02:00
libmes.h mescc: Cleanup includes. 2018-08-19 11:17:57 +02:00
limits.h mescc: Mes C Library: Add closedir, opendir, readdir. 2018-08-26 18:34:53 +02:00
locale.h GNU Mes. 2018-07-22 14:24:36 +02:00
math.h mescc: Mes C Library: Explode libc+gnu.c. 2018-08-24 20:57:34 +02:00
memory.h GNU Mes. 2018-07-22 14:24:36 +02:00
pwd.h GNU Mes. 2018-07-22 14:24:36 +02:00
setjmp.h GNU Mes. 2018-07-22 14:24:36 +02:00
signal.h GNU Mes. 2018-07-22 14:24:36 +02:00
stdarg.h GNU Mes. 2018-07-22 14:24:36 +02:00
stdbool.h GNU Mes. 2018-07-22 14:24:36 +02:00
stddef.h GNU Mes. 2018-07-22 14:24:36 +02:00
stdint.h GNU Mes. 2018-07-22 14:24:36 +02:00
stdio.h GNU Mes. 2018-07-22 14:24:36 +02:00
stdlib.h GNU Mes. 2018-07-22 14:24:36 +02:00
stdnoreturn.h GNU Mes. 2018-07-22 14:24:36 +02:00
string.h mescc: Mes C Library: Explode libc+tcc.c. 2018-08-22 07:23:27 +02:00
strings.h GNU Mes. 2018-07-22 14:24:36 +02:00
time.h GNU Mes. 2018-07-22 14:24:36 +02:00
unistd.h GNU Mes. 2018-07-22 14:24:36 +02:00