about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/pread.c
Commit message (Collapse)AuthorAgeFilesLines
* Update to LGPL v2.1.Andreas Jaeger2001-07-061-8/+8
| | | | | | | | | | | | | | 2001-07-06 Paul Eggert <eggert@twinsun.com> * manual/argp.texi: Remove ignored LGPL copyright notice; it's not appropriate for documentation anyway. * manual/libc-texinfo.sh: "Library General Public License" -> "Lesser General Public License". 2001-07-06 Andreas Jaeger <aj@suse.de> * All files under GPL/LGPL version 2: Place under LGPL version 2.1.
* * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead codeRoland McGrath2001-06-141-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | so the label is not considered unused. * sysdeps/mach/hurd/pwrite64.c: New file. * sysdeps/mach/hurd/pread64.c: New file. * sysdeps/mach/hurd/pread.c (__libc_pread): Define this name, with __pread as an alias. * sysdeps/mach/hurd/pwrite.c (__libc_pwrite): Define this name, with __pwrite as an alias. Implement POSIX "shared memory objects" as regular files residing in the /var/run/shm/ directory. This works on any system that supports _POSIX_MAPPED_FILES, to make it also support _POSIX_SHARED_MEMORY_OBJECTS. * sysdeps/posix/shm_open.c: New file. * sysdeps/posix/shm_unlink.c: New file. * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_SHARED_MEMORY_OBJECTS): Define it. * rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]: Use raise instead of __aio_sigqueue.
* * sysdeps/mach/hurd/pread.c: Fail with EINVAL if OFFSET is negative.Roland McGrath2001-06-141-3/+6
| | | | | | | | | | * sysdeps/mach/hurd/pwrite.c: Likewise. * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): libc=0.3 [USE_IN_LIBIO && !GLIBC_OLDEST_ABI] (.*-.*-gnu-gnu.*): Use GLIBC_2.2.4 as default version set. (test_ftello): Check for EFBIG and ENOSPC, clean up error messages.
* * sysdeps/mach/hurd/pread.c (__pread): Include <hurd/fd.h>. Fix typo.Roland McGrath1999-07-201-1/+2
| | | | * sysdeps/mach/hurd/pwrite.c (__pwrite): Include <hurd/fd.h>.
* 1999-06-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-221-0/+31
* 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.