mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 07:20:11 +00:00
562ef5e69e
The explicit error return value (without in-band signaling) avoids complicated steps to detect errors based on whether errno has been updated. Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
14 lines
372 B
C
14 lines
372 B
C
#include <misc/sys/auxv.h>
|
|
|
|
#ifndef _ISOMAC
|
|
|
|
extern __typeof (getauxval) __getauxval;
|
|
libc_hidden_proto (__getauxval)
|
|
|
|
/* Like getauxval, but writes the value to *RESULT and returns true if
|
|
found, or returns false. Does not set errno. */
|
|
_Bool __getauxval2 (unsigned long int type, unsigned long int *result);
|
|
libc_hidden_proto (__getauxval2)
|
|
|
|
#endif /* !_ISOMAC */
|