posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
Loading...
Searching...
No Matches
posix_setjmp.h File Reference

<setjmp.h>: POSIX signal-jump extensions More...

#include <setjmp.h>
#include <signal.h>
#include <zephyr/toolchain.h>
Include dependency graph for posix_setjmp.h:

Go to the source code of this file.

Data Structures

struct  __sigjmp_buf
 Jump buffer for sigsetjmp() and siglongjmp() More...
 

Typedefs

typedef struct __sigjmp_buf sigjmp_buf[1]
 Jump buffer for sigsetjmp() and siglongjmp()
 

Functions

int __sigjmp_save (struct __sigjmp_buf *env, int savemask)
 
int sigsetjmp (sigjmp_buf env, int savemask)
 Save the calling environment and, optionally, the signal mask.
 
FUNC_NORETURN void siglongjmp (sigjmp_buf env, int val)
 Restore the environment saved by sigsetjmp().
 

Detailed Description

<setjmp.h>: POSIX signal-jump extensions

Provides sigsetjmp() and siglongjmp(), the POSIX_SIGNAL_JUMP Option Group, on top of the C library's setjmp() and longjmp(). The C library's <setjmp.h> includes this header.

See also
POSIX.1-2017 <setjmp.h>

Definition in file posix_setjmp.h.