This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [glibc PATCH] fcntl: put F_OFD_* constants under #ifdef __USE_FILE_OFFSET64
On Aug 18 2016, Florian Weimer <fweimer@redhat.com> wrote:
> We should deprecate F_SETLK64 and struct lock64, too, and document that
> you should use _FILE_OFFSET_BITS == 64 if you need such locks. That, and
> make fcntl type-safe (for both C and C++ with sufficiently recent GCC).
There is also _LARGEFILE64_SOURCE which enables the *64 API without
making it the default.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."