Skip to content

Commit f7b09b5

Browse files
[libc] Add function spec for getauxval (#97492)
Does what it says on the box.
1 parent f1a8f94 commit f7b09b5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

libc/spec/gnu_ext.td

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,11 @@ def GnuExtensions : StandardSpec<"GNUExtensions"> {
237237
[], // Types
238238
[], // Enumerations
239239
[
240-
//TODO: Add getauxval here
240+
FunctionSpec<
241+
"getauxval",
242+
RetValSpec<UnsignedLongType>,
243+
[ArgSpec<UnsignedLongType>]
244+
>,
241245
] // Functions
242246
>;
243247

0 commit comments

Comments
 (0)