Eric Sandeen wrote:
Pádraig Brady wrote:
> I tried using fallocate() on glibc-2.9.90-22.
> The man-pages are out of date and say the glibc interface is not available,
oops :) Mind filing a bug on that against man-pages?
sure.
> but from inspecting the headers I came up with the test prog
below.
> However I get a link error if I uncomment #define _FILE_OFFSET_BITS 64.
> What am I missing?
on which arch? what's the link error?
arch: 32 bit i686
error: undefined reference to `fallocate64'
cheers,
Pádraig.