OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [libgloss/] [arm/] [_exit.c] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
#include <_ansi.h>
2
 
3
int _kill _PARAMS ((int, int));
4
void _exit _PARAMS ((int));
5
 
6
void
7
_exit (int status)
8
{
9
  /* There is only one SWI for both _exit and _kill. For _exit, call
10
     the SWI with the second argument set to -1, an invalid value for
11
     signum, so that the SWI handler can distinguish the two calls.
12
     Note: The RDI implementation of _kill throws away both its
13
     arguments.  */
14
  _kill (status, -1);
15
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.