hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

platformstart-libc.ha (264B)


      1 // SPDX-License-Identifier: MPL-2.0
      2 // (c) Hare authors <https://harelang.org>
      3 
      4 export fn start_freebsd(iv: *[*]uintptr) never = {
      5 	// TODO: Find & parse auxv
      6 	argc = iv[0]: size;
      7 	argv = &iv[1]: *[*]*u8;
      8 	envp = &argv[argc + 1]: *[*]nullable *u8;
      9 	start_ha();
     10 };