This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/19409] some open() flags are undefined without _GNU_SOURCE


https://sourceware.org/bugzilla/show_bug.cgi?id=19409

--- Comment #1 from Dmitry V. Levin <ldv at altlinux dot org> ---
(In reply to Isabella from comment #0)
> Users need _GNU_SOURCE to enable them, but this isn't mentioned anywhere
> in the docs.  Please add it.

JFYI, open(2) manpage mentions this in "CONFORMING TO" section:

"The O_DIRECT, O_NOATIME, O_PATH, and O_TMPFILE flags are Linux-specific. One
must define _GNU_SOURCE to obtain their definitions".

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]