Debian Codegraph @

linux/+linux/start.ha

raw
1 // SPDX-License-Identifier: MPL-2.0
2 // (c) Hare authors <https://harelang.org>
3
4 use format::elf;
5 use rt;
6
7 @init fn init_linux() void = {
8 let i = 0;
9 for (rt::envp[i] != null) {
10 i += 1;
11 };
12 auxv = &rt::envp[i + 1]: *[*]elf::auxv64;
13 };