[PATCH 1/7] Add <sys/auxv.h> and gethwcap function.

Richard Henderson rth@twiddle.net
Mon May 14 18:59:00 GMT 2012


On 05/14/12 11:49, Ryan S. Arnold wrote:
> Isn't this redundant with the following?
> 
> __getauxval (AT_HWCAP)
> 
> I imagine, even for a user application, this probably isn't going to
> be called more than once so is this specific export justified?

Nearly but not quite.  Please read the 0/7 post re the different
return types.

And I can imagine it being called up to some fraction of the shared
libraries loaded by the program.


r~



More information about the Libc-alpha mailing list