]>
git.saurik.com Git - apple/xnu.git/blob - tests/no32exec_35914211_helper.c
1 /* This is a file that compiles as a 32-bit helper to test
2 * forking of 32-bit programs, now that 32-bit has been
3 * deprecated on macOS despite still requiring its support in
4 * the watchOS simulator.
11 main(int argc __unused
, char **argv
)
14 size_t retval
= sizeof(void *);
15 printf("%s(%d): sizeof(void *) = %lu\n", argv
[0], getpid(), retval
);