pctl.h
来自「编写一个多进程并发执行程序。父进程首先创建一个执行ls 命令的子进程然后再创建一」· C头文件 代码 · 共 11 行
H
11 行
#include <sys/types.h>
#include <wait.h>
#include <unistd.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
//进程自定义的键盘中断信号处理函数
typedef void (*sighandler_t) (int);
void sigcat(){
printf("%d Process continue\n",getpid());
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?