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);
110 #endif // _POSIX_C_SOURCE >= 200112L && (!__NEWLIB__ || __CYGWIN__) 116 #endif // !LELY_UTIL_MKJMP_H_ 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.h> and defines any missing functionality.
This header file is part of the Lely libraries; it contains the compiler feature definitions.