mes/lib/gnu
Jan Nieuwenhuizen 89945751d9
hurd: Add open.
* 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.
2019-12-13 21:52:30 +01:00
..
x86-mes-gcc hurd: Add argv and environ. 2019-12-13 21:52:30 +01:00
_exit.c hurd: Add argv and environ. 2019-12-13 21:52:30 +01:00
_open3.c hurd: Add open. 2019-12-13 21:52:30 +01:00
_read.c hurd: Add _read. 2019-12-13 21:52:30 +01:00
_write.c hurd: Add _write. 2019-12-13 21:52:30 +01:00
dir-lookup.c hurd: Add open. 2019-12-13 21:52:30 +01:00
exec-startup-get-data.c hurd: Add argv and environ. 2019-12-13 21:52:30 +01:00
fd-get.c hurd: Add argv and environ. 2019-12-13 21:52:30 +01:00
fd-read.c hurd: Add _read. 2019-12-13 21:52:30 +01:00
fd-write.c hurd: Add _write. 2019-12-13 21:52:30 +01:00
hurd-start.c hurd: Add argv and environ. 2019-12-13 21:52:30 +01:00
io-read.c hurd: Add _read. 2019-12-13 21:52:30 +01:00
io-write.c hurd: Add open. 2019-12-13 21:52:30 +01:00
proc-mark-exit.c hurd: Initial support. 2019-12-13 21:52:29 +01:00
syscall.c hurd: Add _write. 2019-12-13 21:52:30 +01:00
task-get-special-port.c hurd: Initial support. 2019-12-13 21:52:29 +01:00
task-terminate.c hurd: Initial support. 2019-12-13 21:52:29 +01:00
vm-statistics.c hurd: Initial support. 2019-12-13 21:52:29 +01:00