diff options
Diffstat (limited to 'src/setjmp')
| -rw-r--r-- | src/setjmp/sigjmp_buf.c | 7 | ||||
| -rw-r--r-- | src/setjmp/siglongjmp.c | 10 | ||||
| -rw-r--r-- | src/setjmp/sigsetjmp.c | 10 |
3 files changed, 27 insertions, 0 deletions
diff --git a/src/setjmp/sigjmp_buf.c b/src/setjmp/sigjmp_buf.c new file mode 100644 index 00000000..09829e88 --- /dev/null +++ b/src/setjmp/sigjmp_buf.c @@ -0,0 +1,7 @@ +#include <setjmp.h> + +typedef jmp_buf sigjmp_buf; + +/* +POSIX(1) +*/ diff --git a/src/setjmp/siglongjmp.c b/src/setjmp/siglongjmp.c new file mode 100644 index 00000000..44b6d6ed --- /dev/null +++ b/src/setjmp/siglongjmp.c @@ -0,0 +1,10 @@ +#include <setjmp.h> + +void siglongjmp(sigjmp_buf env, int val) +{ + (void)env; (void)val; + /* TODO */ +} +/* +POSIX(1) +*/ diff --git a/src/setjmp/sigsetjmp.c b/src/setjmp/sigsetjmp.c new file mode 100644 index 00000000..37c9727f --- /dev/null +++ b/src/setjmp/sigsetjmp.c @@ -0,0 +1,10 @@ +#include <setjmp.h> + +int sigsetjmp(sigjmp_buf env, int savemask) +{ + (void)env; (void)savemask; + return 0; +} +/* +POSIX(1) +*/ |
