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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [arm/] [_exit.c] - Blame information for rev 831

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 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.