URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [libnosys/] [_exit.c] - Rev 842
Go to most recent revision | Compare with Previous | Blame | View Log
/* Stub version of _exit. */ #include <limits.h> #include "config.h" #include <_ansi.h> #include <_syslist.h> _VOID _DEFUN (_exit, (rc), int rc) { /* Default stub just causes a divide by 0 exception. */ int x = rc / INT_MAX; x = 4 / x; /* Convince GCC that this function never returns. */ for (;;) ; }
Go to most recent revision | Compare with Previous | Blame | View Log