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 x86_64: fenv.c needs __weak_reference() 2015-03-27 20:16:57 +01:00
file.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
ioctl.h POSIX: lseek: support SEEK_DATA and SEEK_HOLE constants 2020-11-12 10:42:11 +00:00
ipc.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
mman.h libroot/kernel: Implement MADV_FREE madvise() extension. 2020-08-01 19:23:27 +00:00
msg.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
param.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
poll.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
resource.h libroot: add [gs]etpriority implementation 2019-01-19 18:31:58 +00:00
select.h <langinfo.h>/<select.h>: don't use C++ comments 2013-06-12 14:55:16 +02:00
sem.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
socket.h Implement MSG_NOSIGNAL 2015-06-10 17:39:53 +02:00
sockio.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
stat.h mknod[at](): moves from unistd.h to sys/stat.h 2014-08-04 19:03:08 +02:00
statvfs.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
time.h libbsd: Move lutimes to bsd compat 2017-11-17 14:27:26 -06:00
timeb.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
times.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
types.h build fixes. 2019-08-27 20:51:51 +02:00
uio.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
un.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
utsname.h Updated copyright in headers. No functional change. 2012-07-19 18:14:06 +00:00
wait.h Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00