89945751d9
* include/fcntl.h (O_RDONLY, O_WRONLY, O_RDWR, O_CREAT, O_APPEND, O_TRUNC)[__GNU__]: Specialize for GNU. * lib/gnu/dir-lookup.c: New file. * lib/stdio/fopen.c (fopen): Use O_RDONLY. * lib/tests/posix/50-open-read.c (main): Likewise. * lib/tests/stdio/90-fseek.c (main): Likewise. * include/gnu/syscall.h (SYS__dir_lookup): New value. * lib/gnu/_open3.c: New file. * build-aux/configure-lib.sh (libc_SOURCES): Build them. |
||
---|---|---|
.. | ||
ctype | ||
dirent | ||
gnu | ||
linux | ||
mach | ||
math | ||
mes | ||
posix | ||
stdio | ||
stdlib | ||
string | ||
stub | ||
tests | ||
x86-mes | ||
x86-mes-gcc | ||
x86-mes-mescc | ||
x86_64-mes | ||
x86_64-mes-gcc | ||
x86_64-mes-mescc | ||
libtcc1.c |