PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
setjmp.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
16
#ifndef __SETJMP_H__
17
#define __SETJMP_H__
18
19
/* Very simple setjmp support. Have to be tested though. Someone? */
20
21
#include <
tamtypes.h
>
22
23
/* seems the IOP's sysclib does have one more value than the newlib's version... */
24
#define _JBLEN 12
25
#define _JBTYPE u32
26
27
typedef
_JBTYPE jmp_buf[_JBLEN];
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
33
int
setjmp(jmp_buf env);
34
void
longjmp(jmp_buf env,
int
val)
__attribute__
((noreturn));
35
36
#ifdef __cplusplus
37
}
38
#endif
39
40
#endif
/* __SETJMP_H__ */
__attribute__
Definition
gif_registers.h:39
tamtypes.h
iop
kernel
include
setjmp.h
Generated on Thu Nov 14 2024 05:25:27 for PS2SDK by
1.9.8