ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
terminate.c File Reference
#include <stdio.h>
#include <tamtypes.h>
#include <kernel.h>
+ Include dependency graph for terminate.c:

Go to the source code of this file.

Functions

void abort ()
 
void exit (int retval)
 

Function Documentation

◆ abort()

void abort ( void  )

Definition at line 16 of file terminate.c.

17 {
18  printf("Program aborted.\n");
19 
20  while (1)
21  _exit(1);
22 }
void _exit(int retval)

References _exit().

◆ exit()

void exit ( int  retval)

Definition at line 25 of file terminate.c.

26 {
27  while (1)
28  _exit(retval);
29 }

References _exit().