haiku/headers/posix/sys
Jérôme Duval a9c09fcaae POSIX: lseek: support SEEK_DATA and SEEK_HOLE constants
this is queued for issue 8: https://www.austingroupbugs.net/view.php?id=415
this implementation calls the ioctl hook of the filesystem with BSD-like constants
FIOSEEKDATA and FIOSEEKHOLE. if the hook doesn't know the constants, we use the stat size
to return the last hole (as proposed in the draft spec).

Change-Id: I5d052eed87e29b70491a7ff534e244896469d03e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3385
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
2020-11-12 10:42:11 +00:00
..
cdefs.h
file.h
ioctl.h POSIX: lseek: support SEEK_DATA and SEEK_HOLE constants 2020-11-12 10:42:11 +00:00
ipc.h
mman.h libroot/kernel: Implement MADV_FREE madvise() extension. 2020-08-01 19:23:27 +00:00
msg.h
param.h
poll.h
resource.h libroot: add [gs]etpriority implementation 2019-01-19 18:31:58 +00:00
select.h
sem.h
socket.h
sockio.h
stat.h
statvfs.h
time.h libbsd: Move lutimes to bsd compat 2017-11-17 14:27:26 -06:00
timeb.h
times.h
types.h build fixes. 2019-08-27 20:51:51 +02:00
uio.h
un.h
utsname.h
wait.h