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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [libgloss/] [arm/] [_exit.c] - Diff between revs 148 and 158

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 148 Rev 158
#include <_ansi.h>
#include <_ansi.h>
 
 
int _kill _PARAMS ((int, int));
int _kill _PARAMS ((int, int));
void _exit _PARAMS ((int));
void _exit _PARAMS ((int));
 
 
void
void
_exit (int status)
_exit (int status)
{
{
  /* There is only one SWI for both _exit and _kill. For _exit, call
  /* 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
     the SWI with the second argument set to -1, an invalid value for
     signum, so that the SWI handler can distinguish the two calls.
     signum, so that the SWI handler can distinguish the two calls.
     Note: The RDI implementation of _kill throws away both its
     Note: The RDI implementation of _kill throws away both its
     arguments.  */
     arguments.  */
  _kill (status, -1);
  _kill (status, -1);
}
}
 
 

powered by: WebSVN 2.1.0

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