Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sys_exit.c « riscv « libgloss - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 995dd6502cc1a8e9f31cef3f599a6e050f14d004 (plain)
1
2
3
4
5
6
7
8
9
10
#include <machine/syscall.h>
#include "internal_syscall.h"

/* Exit a program without cleaning up files.  */
void
_exit(int exit_status)
{
  syscall_errno (SYS_exit, 1, exit_status, 0, 0, 0, 0, 0);
  while (1);
}