]> git.saurik.com Git - apple/xnu.git/blob - tools/tests/execperf/exit.c
xnu-3248.20.55.tar.gz
[apple/xnu.git] / tools / tests / execperf / exit.c
1 #include <stdlib.h>
2
3 int main(int artc, char *argv[]) {
4 #if defined(__x86_64__)
5 asm volatile ("andq $0xfffffffffffffff0, %rsp\n");
6 #elif defined(__i386__)
7 asm volatile ("andl $0xfffffff0, %esp\n");
8 #else
9 #error Unsupported architecture
10 #endif
11 _Exit(42);
12 }