Debian Codegraph @

os/+netbsd/exit.ha

raw
1 // SPDX-License-Identifier: MPL-2.0
2 // (c) Hare authors <https://harelang.org>
3
4 use rt;
5
6 // Exit the program with the provided status code.
7 export fn exit(status: int) never = {
8 rt::fini();
9 rt::exit(status);
10 };