From b8fc4287839236f239baa9de35dbe0141b56cbf7 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 20 Dec 2023 16:10:41 +0000 Subject: Add executable to find size of jmp_buf --- runtime/src/jmp_buf/sizeof_jmp_buf.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 runtime/src/jmp_buf/sizeof_jmp_buf.c (limited to 'runtime/src') 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 +#include + +int main() { + printf("%lu\n", sizeof(jmp_buf)); + + return 0; +} -- cgit v1.2.3