1999-06-23 Roland McGrath <roland@baalperazim.frob.com>
authorRoland McGrath <roland@gnu.org>
Tue, 22 Jun 1999 23:56:08 +0000 (23:56 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 22 Jun 1999 23:56:08 +0000 (23:56 +0000)
commit8b2134db5eb503216886522e11db88d74446c64d
tree1caa1ac50bf57fa8d2079aaa2f75a06b376fcb9c
parent725af56f3adb3ea40cc4e58d1c9e0215e71186ba
1999-06-23  Roland McGrath  <roland@baalperazim.frob.com>

* sysdeps/mach/hurd/read.c (__libc_read): Just call __pread with
OFFSET argument of (off_t) -1.
* sysdeps/mach/hurd/write.c (__libc_write): Just call __pwrite with
OFFSET argument of (off_t) -1.

* sysdeps/mach/hurd/pwrite.c: New file.
* sysdeps/mach/hurd/pread.c: New file.

* hurd/fd-read.c (_hurd_fd_read): Take new parameter OFFSET and
pass it in the RPC instead of always -1.
* hurd/fd-write.c (_hurd_fd_write): Likewise.
* hurd/hurd/fd.h: Update decls.
ChangeLog
hurd/fd-read.c
hurd/fd-write.c
hurd/hurd/fd.h
sysdeps/mach/hurd/pread.c [new file with mode: 0644]
sysdeps/mach/hurd/pwrite.c [new file with mode: 0644]