1 #include "tests.h" 2 #include <asm/unistd.h> 3 4 #ifdef __NR_getgid 5 6 # include <stdio.h> 7 # include <unistd.h> 8 9 int main(void)10 main(void) 11 { 12 printf("getgid() = %ld\n", syscall(__NR_getgid)); 13 return 0; 14 } 15 16 #else 17 18 SKIP_MAIN_UNDEFINED("__NR_getgid") 19 20 #endif 21