10 lines
170 B
C
10 lines
170 B
C
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
#include <stdio.h>
|
|
|
|
int main(void) {
|
|
printf("pid = %d\n", getpid());
|
|
printf("ppid = %d\n", getppid());
|
|
return 0;
|
|
}
|