authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-09-06 23:15:00+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-09-07 01:29:52+02:00
logc09af800431ccb1fc8bab6c51a966a8de3fe8b0d
tree781ea0df88ccc2c0faeb28ad275b12d1773e1eda
parentf283057bee8874a497908f420c7853606d5c98d2
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.c: add elf_aux_info()


1 files changed, 3 insertions(+), 2 deletions(-)

lib/std/c.zig+3-2
...@@ -10533,8 +10533,9 @@ pub const sendfile = switch (native_os) {...@@ -10533,8 +10533,9 @@ pub const sendfile = switch (native_os) {
10533 .linux => private.sendfile,10533 .linux => private.sendfile,
10534 else => {},10534 else => {},
10535};10535};
10536/// See std.elf for constants for this10536
10537pub extern "c" fn getauxval(__type: c_ulong) c_ulong;10537pub extern "c" fn getauxval(type: c_ulong) c_ulong;
10538pub extern "c" fn elf_aux_info(aux: c_int, buf: *anyopaque, buflen: c_int) c_int;
1053810539
10539pub extern "c" fn dl_iterate_phdr(callback: dl_iterate_phdr_callback, data: ?*anyopaque) c_int;10540pub extern "c" fn dl_iterate_phdr(callback: dl_iterate_phdr_callback, data: ?*anyopaque) c_int;
1054010541