This website requires JavaScript.
Explore
Help
Sign In
artemist
/
mes
Watch
1
Star
0
Fork
You've already forked mes
0
Code
Issues
Pull requests
Packages
Projects
Releases
Wiki
Activity
d73df09ab6
mes
/
scaffold
/
tests
/
readdir.dir
/
link
1 line
4 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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 16:34:53 +00:00
file
Reference in a new issue
Copy permalink