Dmitry V. Levin | f096422 | 2016-04-19 18:28:03 +0000 | [diff] [blame] | 1 | #include "tests.h" |
2 | #include <sys/syscall.h> | ||||
3 | |||||
4 | #ifdef __NR_getegid32 | ||||
5 | |||||
6 | # include <stdio.h> | ||||
7 | # include <unistd.h> | ||||
8 | |||||
9 | int | ||||
10 | main(void) | ||||
11 | { | ||||
12 | printf("getegid32() = %ld\n", syscall(__NR_getegid32)); | ||||
13 | return 0; | ||||
14 | } | ||||
15 | |||||
16 | #else | ||||
17 | |||||
18 | SKIP_MAIN_UNDEFINED("__NR_getegid32") | ||||
19 | |||||
20 | #endif |