/usr/share/z88dk/include/setjmp.h is in z88dk-data 1.8.ds1-10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | /*
* setjmp.h
*
* Routines for dealing with longjmps
*
* $Id: setjmp.h,v 1.4 2007/06/25 19:17:45 dom Exp $
*/
#ifndef __SETJMP_H__
#define __SETJMP_H__
/*
* We have no register variables so we just need to
* save sp and pc
*/
typedef struct {
int sp;
int pc;
} jmp_buf;
extern int __LIB__ setjmp(jmp_buf env);
extern void __LIB__ longjmp(jmp_buf env, int val);
#endif /* _SETJMP_H */
|