| author | |
| committer | |
| log | 731c6d3fbbd935233513f4779e19b4ca18c2006e |
| tree | 25f0fca5aa8d65b59595f34deab87259e43bc1cf |
| parent | 750998eef62a70dbea8c3ba1d44245f506370911 |
1 files changed, 4 insertions(+), 0 deletions(-)
lib/std/os/linux.zig+4| ... | ... | @@ -153,6 +153,10 @@ pub usingnamespace @import("linux/io_uring.zig"); |
| 153 | 153 | |
| 154 | 154 | /// Set by startup code, used by `getauxval`. |
| 155 | 155 | pub var elf_aux_maybe: ?[*]std.elf.Auxv = null; |
| 156 | pub extern var _elf_aux_maybe: ?[*]std.elf.Auxv; | |
| 157 | comptime { | |
| 158 | @export(elf_aux_maybe, .{ .name = "_elf_aux_maybe", .linkage = .Weak }); | |
| 159 | } | |
| 156 | 160 | |
| 157 | 161 | /// See `std.elf` for the constants. |
| 158 | 162 | pub fn getauxval(index: usize) usize { |