occlum/test/getpid/main.c
2020-05-27 07:09:18 +00:00

9 lines
204 B
C

#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
int main(int argc, const char *argv[]) {
printf("Run a new process with pid = %d and ppid = %d\n", getpid(), getppid());
return 0;
}