occlum/test/getpid/main.c
2019-02-16 16:23:30 +08:00

9 lines
180 B
C

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