From c09af800431ccb1fc8bab6c51a966a8de3fe8b0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sun, 6 Sep 2026 23:15:00 +0200 Subject: [PATCH] std.c: add elf_aux_info() --- lib/std/c.zig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/std/c.zig b/lib/std/c.zig index ae616664cb0cfc3699948431c50fd1d64936b8f7..b4d3ec8961eea0026f642cfec32f5b38085de5c2 100644 --- a/lib/std/c.zig +++ b/lib/std/c.zig @@ -10533,8 +10533,9 @@ pub const sendfile = switch (native_os) { .linux => private.sendfile, else => {}, }; -/// See std.elf for constants for this -pub extern "c" fn getauxval(__type: c_ulong) c_ulong; + +pub extern "c" fn getauxval(type: c_ulong) c_ulong; +pub extern "c" fn elf_aux_info(aux: c_int, buf: *anyopaque, buflen: c_int) c_int; pub extern "c" fn dl_iterate_phdr(callback: dl_iterate_phdr_callback, data: ?*anyopaque) c_int; -- 2.54.0