aboutsummaryrefslogtreecommitdiff
path: root/include/sys/auxv.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/auxv.h')
-rw-r--r--include/sys/auxv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sys/auxv.h b/include/sys/auxv.h
index 3bab6d0..dd0602b 100644
--- a/include/sys/auxv.h
+++ b/include/sys/auxv.h
@@ -5,4 +5,9 @@
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 */