This is the mail archive of the libc-alpha@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]

Re: C11 threads ABI questions - enum values


On Thu, 2 Oct 2014, Rich Felker wrote:

> ways that require ABI decisions (O_SEARCH, O_EXEC, NI_NUMERICSCOPE, and
> O_TTY_INIT are the examples that come to mind immediately) where it
> would be really nice to have either some direction from glibc, or at
> least a tenative assignment of values planned.

O_* are shared with the Linux kernel, so values need to be agreed there to 
avoid conflict with any new features added to the kernel in future (even 
if part of the semantics is implemented in userspace).  Once the values 
are defined in the kernel's uapi headers, that determines them for all C 
libraries.

-- 
Joseph S. Myers
joseph@codesourcery.com


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