Fei Jie | 8bfe0d5 | 2016-04-21 09:40:01 +0800 | [diff] [blame] | 1 | #include "tests.h" |
2 | #include <stdio.h> | ||||
3 | #include <unistd.h> | ||||
4 | |||||
5 | int | ||||
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 | } |