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