X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fsetjmp.h;fp=includes%2Fsetjmp.h;h=fe4fbb62420b3f4aeb8b8996fed5583abbaf4471;hb=3f035390c831709593428e88bb1c640604434d60;hp=0000000000000000000000000000000000000000;hpb=8844222c1c871f1b4127219008d0baa8975b5226;p=pdclib.old diff --git a/includes/setjmp.h b/includes/setjmp.h new file mode 100644 index 0000000..fe4fbb6 --- /dev/null +++ b/includes/setjmp.h @@ -0,0 +1,27 @@ +// ---------------------------------------------------------------------------- +// $Id$ +// ---------------------------------------------------------------------------- +// Public Domain C Library - http://pdclib.sourceforge.net +// This code is Public Domain. Use, modify, and redistribute at will. +// ---------------------------------------------------------------------------- +// TODO +// ---------------------------------------------------------------------------- + +#ifndef __SETJMP_H +#define __SETJMP_H __SETJMP_H + +// ---------------------------------------------------------------------------- +// TYPEDEFS + +struct jmp_buf[1]; + +// ---------------------------------------------------------------------------- +// FUNCTIONS + +// TODO +int setjmp(jmp_buf env); + +// TODO +void longjmp(jmp_buf env, int val); + +#endif // __SETJMP_H