]> git.saurik.com Git - apple/xnu.git/blame - tools/tests/execperf/exit.c
xnu-2782.1.97.tar.gz
[apple/xnu.git] / tools / tests / execperf / exit.c
CommitLineData
316670eb
A
1#include <stdlib.h>
2
fe8ab488 3int main(int artc, char *argv[]) {
6d2010ae
A
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}