diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-12-20 16:10:41 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-12-20 16:10:41 +0000 |
| commit | b8fc4287839236f239baa9de35dbe0141b56cbf7 (patch) | |
| tree | 46b5a9fadd9768d3a18405b9ba9cfd05455ef329 /runtime/src | |
| parent | 92f00e46821d40107b6376877e363ff7171dbbd1 (diff) | |
Add executable to find size of jmp_buf
Diffstat (limited to 'runtime/src')
| -rw-r--r-- | runtime/src/jmp_buf/sizeof_jmp_buf.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/src/jmp_buf/sizeof_jmp_buf.c b/runtime/src/jmp_buf/sizeof_jmp_buf.c new file mode 100644 index 00000000..f08825d4 --- /dev/null +++ b/runtime/src/jmp_buf/sizeof_jmp_buf.c @@ -0,0 +1,8 @@ +#include <setjmp.h> +#include <stdio.h> + +int main() { + printf("%lu\n", sizeof(jmp_buf)); + + return 0; +} |
