occlum/test/getpid/main.c
2019-02-16 16:24:08 +08: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;
}