]> granicus.if.org Git - strace/blob - tests/iopl.c
tests: extend TEST_NETLINK_OBJECT macro
[strace] / tests / iopl.c
1 #include "tests.h"
2 #include <asm/unistd.h>
3
4 #ifdef __NR_iopl
5
6 # include <stdio.h>
7 # include <unistd.h>
8
9 int
10 main(void)
11 {
12         long rc = syscall(__NR_iopl, 4);
13         printf("iopl(4) = %ld %s (%m)\n", rc, errno2name());
14
15         puts("+++ exited with 0 +++");
16         return 0;
17 }
18
19 #else
20
21 SKIP_MAIN_UNDEFINED("__NR_iopl")
22
23 #endif