[PATCH 1/9] Add vectorized getenv for glibc use
Siddhesh Poyarekar
siddhesh.poyarekar@gmail.com
Thu May 9 17:21:00 GMT 2013
On 9 May 2013 22:27, Andi Kleen <andi@firstfloor.org> wrote:
>> Having a typedef'd enum would be a good idea so that any future
>> function that accepts offsets into _dl_glibc_var can restrict values
>> to glibc_env_t rather than accepting any integer.
>
> That's not how C enums work.
Ugh, yes, that's how C++ enums work, not C.
Siddhesh
--
http://siddhesh.in
More information about the Libc-alpha
mailing list