sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
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
17
#ifndef __SETJMP_H__
18
#define __SETJMP_H__
19
20
/* Very simple setjmp support. Have to be tested though. Someone? */
21
22
#include <
tamtypes.h
>
23
24
/* seems the IOP's sysclib does have one more value than the newlib's version... */
25
#define _JBLEN 12
26
#define _JBTYPE u32
27
28
typedef
_JBTYPE jmp_buf[_JBLEN];
29
30
#ifdef __cplusplus
31
extern
"C"
{
32
#endif
33
34
extern
int
setjmp(jmp_buf env);
35
extern
void
longjmp(jmp_buf env,
int
val)
__attribute__
((noreturn));
36
37
#ifdef __cplusplus
38
}
39
#endif
40
41
#endif
/* __SETJMP_H__ */
__attribute__
Definition
gif_registers.h:40
tamtypes.h
core
sysclib
include
setjmp.h
Generated by
1.18.0