URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc1/] [libgloss/] [libnosys/] [_exit.c] - Rev 427
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