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

_exit.c « arm « libgloss - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ed00876371d7b6c6276ba6f236d32b7b92d3c4ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <_ansi.h>

int _kill _PARAMS ((int, int));
void _exit _PARAMS ((int));

void
_exit (int status)
{
  /* There is only one SWI for both _exit and _kill. For _exit, call
     the SWI with the second argument set to -1, an invalid value for
     signum, so that the SWI handler can distinguish the two calls.
     Note: The RDI implementation of _kill throws away both its
     arguments.  */
  _kill (status, -1);
}