1 #include "tests.h" 2 #include <stdio.h> 3 #include <unistd.h> 4 5 int main(void)6 main(void) 7 { 8 pid_t pid = getpid(); 9 printf("getsid(%d) = %d\n", pid, getsid(pid)); 10 11 puts("+++ exited with 0 +++"); 12 return 0; 13 } 14