Import sources from 2011-03-30 iso image - sys/include
This commit is contained in:
parent
e5888a1ffd
commit
c558a99e0b
105 changed files with 11410 additions and 0 deletions
26
sys/include/ape/setjmp.h
Executable file
26
sys/include/ape/setjmp.h
Executable file
|
@ -0,0 +1,26 @@
|
|||
#ifndef __SETJMP_H
|
||||
#define __SETJMP_H
|
||||
#pragma lib "/$M/lib/ape/libap.a"
|
||||
|
||||
typedef int jmp_buf[10];
|
||||
#ifdef _POSIX_SOURCE
|
||||
typedef int sigjmp_buf[10];
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern int setjmp(jmp_buf);
|
||||
extern void longjmp(jmp_buf, int);
|
||||
|
||||
#ifdef _POSIX_SOURCE
|
||||
extern int sigsetjmp(sigjmp_buf, int);
|
||||
extern void siglongjmp(sigjmp_buf, int);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __SETJMP_H */
|
Loading…
Add table
Add a link
Reference in a new issue