ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
terminate.c
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# (c) 2003 Marcus R. Brown (mrbrown@0xd6.org)
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
11
#include <stdio.h>
12
#include <
tamtypes.h
>
13
#include <
kernel.h
>
14
15
__attribute__((weak))
16
void
abort
()
17
{
18
printf(
"Program aborted.\n"
);
19
20
while
(1)
21
_exit
(1);
22
}
23
24
__attribute__((weak))
25
void
exit
(
int
retval)
26
{
27
while
(1)
28
_exit
(retval);
29
}
kernel.h
_exit
void _exit(int retval)
tamtypes.h
exit
void exit(int retval)
Definition:
terminate.c:25
abort
void abort()
Definition:
terminate.c:16
ee
libc
src
terminate.c
Generated on Thu Feb 11 2021 11:42:22 for ps2sdk by
1.9.2