mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2024-12-28 20:43:38 +01:00
29 lines
553 B
C
29 lines
553 B
C
#ifndef __SETJMP_H__
|
|
# define __SETJMP_H__
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
/* Get '__jmp_buf' */
|
|
#include <bits/setjmp.h>
|
|
|
|
/* User jmp_buf alias */
|
|
typedef struct __jmp_buf jmp_buf[1];
|
|
|
|
|
|
/*
|
|
** Store the calling environment in ENV, also saving the signal mask.
|
|
** Return 0.
|
|
*/
|
|
extern int setjmp(jmp_buf env);
|
|
|
|
/* Standard requires setjmp to be a macro (7.13§1) */
|
|
#define setjmp setjmp
|
|
|
|
/*
|
|
** Store the calling environment in ENV, not saving the signal mask.
|
|
** Return 0.
|
|
*/
|
|
extern void longjmp(jmp_buf env, int val);
|
|
|
|
#endif /*__SETJMP_H__*/
|