source:
trunk/libs/newlib/src/libgloss/riscv/sys_exit.c
@
557
Last change on this file since 557 was 444, checked in by , 6 years ago | |
---|---|
File size: 210 bytes |
Rev | Line | |
---|---|---|
[444] | 1 | #include <machine/syscall.h> |
2 | #include "internal_syscall.h" | |
3 | ||
4 | /* Exit a program without cleaning up files. */ | |
5 | void | |
6 | _exit(int exit_status) | |
7 | { | |
8 | syscall_errno (SYS_exit, exit_status, 0, 0, 0, 0, 0); | |
9 | while (1); | |
10 | } |
Note: See TracBrowser
for help on using the repository browser.