mirror_zfs/lib/libspl/include
Alexander Moch ff47dd35e2
Ensure 64-bit off_t is used in user space instead of loff_t
Use 64-bit POSIX off_t in user space instead of the Linux kernel type
loff_t. This is enforced at configure time via AC_SYS_LARGEFILE and
AC_CHECK_SIZEOF([off_t]). loff_t remains in shared headers where they
mirror Linux VFS interfaces, and on FreeBSD we typedef loff_t to off_t
in those headers since libc does not provide it.

Reviewed-by: Rob Norris <robn@despairlabs.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Moch <mail@alexmoch.com>
Closes #18020
2025-12-10 09:45:39 -08:00
..
os libspl: common sysmacros.h 2025-11-12 10:02:25 -08:00
rpc SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
sys Ensure 64-bit off_t is used in user space instead of loff_t 2025-12-10 09:45:39 -08:00
assert.h Cleanup VERIFY() macros (#17163) 2025-04-16 09:01:32 -07:00
atomic.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
libgen.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
libshare.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
libspl.h libspl: init/fini 2025-11-12 10:01:08 -08:00
Makefile.am debug: move all of the debug bits out of the spl 2025-11-12 10:02:51 -08:00
statcommon.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
stdlib.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
string.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
umem.h libspl: move kmem definitions from zfs_context.h 2025-11-12 10:00:17 -08:00
unistd.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zone.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00