summaryrefslogtreecommitdiff
path: root/doc/glibc-functions/fallocate.texi
blob: e3c805327ebb915a83d62837045094f1a064999e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@node fallocate
@subsection @code{fallocate}
@findex fallocate

Documentation:@* @uref{https://www.kernel.org/doc/man-pages/online/pages/man2/fallocate.2.html,,man fallocate}

Gnulib module: ---

Portability problems fixed by Gnulib:
@itemize
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
This function exists only on Linux and is therefore
missing on older glibc versions and many non-glibc platforms:
glibc 2.9, macOS 11.1, FreeBSD 13.0, NetBSD 9.0, OpenBSD 6.7, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android 4.4.
@item
On platforms where @code{off_t} is a 32-bit type, this function may not
work correctly across the entire data range of files larger than 2 GB.
The fix is to use the @code{AC_SYS_LARGEFILE} macro.
@end itemize