process.c

来自「《嵌入式Linux应用程序开发详解》源代码」· C语言 代码 · 共 12 行

C
12
字号
/*process.c*/
#include<stdio.h>
#include<unistd.h>
#include <stdlib.h>

int main()
{
	printf("The PID of this process is %d\n",getpid());
	printf("The PPID of this process is %d\n",getppid());
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?