41 #ifndef LELY_UTIL_MKJMP_H_
42 #define LELY_UTIL_MKJMP_H_
77 int mkjmp(jmp_buf env,
void (*func)(
void *),
void *arg,
void *sp,
size_t size);
79 #if _POSIX_C_SOURCE >= 200112L && (!defined(__NEWLIB__) || defined(__CYGWIN__))
107 int sigmkjmp(sigjmp_buf env,
int savemask,
void (*func)(
void *),
void *arg,
108 void *sp,
size_t size);
This header file is part of the Lely libraries; it contains the compiler feature definitions.
int mkjmp(jmp_buf env, void(*func)(void *), void *arg, void *sp, size_t size)
Creates and stores a calling environment with a user-provided stack suitable for use by longjmp().
int sigmkjmp(sigjmp_buf env, int savemask, void(*func)(void *), void *arg, void *sp, size_t size)
Creates and stores a calling environment with a user-provided stack suitable for use by siglongjmp().
This header file is part of the C11 and POSIX compatibility library; it includes <stddef....