-
用系统调用signal()让父进程捕捉键盘上来的中断信号(按Ctrl
用系统调用signal()让父进程捕捉键盘上来的中断信号(按Ctrl-C键);当捕捉到中断信号后,父进程用系统调用kill()向两个子进程发出信号,子进程捕捉到信号后分别输出下列信息后终止: Child Process 1 is Killed by Parent! Child Process 2 is Killed by Parent! 父进程等待两个子进程终止后,输出如下的信息后终止: Parent Process is Killed!-with system call signal () so that the process of capturing the father onto the keyboard interrupt signal (Ctrl-C bond); When the interrupt signal capture, the father of the process of using system calls kill () to process two signals son, the child process to capture the signal output respectively after the termination of the following information : Process is a Child Killed by Parent! Process 2 Child is Killed by Parent! the process of waiting for the father of two-after the termination process, the following information output after termination : Parent Process is Killed!
- 2022-04-29 20:58:34下载
- 积分:1
-
简洁的手动安装和配置,希望对…
LINUX安装与配置简明手册,希望对大家有用!-LINUX concise manual installation and configuration, in the hope that useful to everybody!
- 2023-04-13 19:10:04下载
- 积分:1
-
简单的服务器,客服端通讯,已经调试,试用于初学者
简单的服务器,客服端通讯,已经调试,试用于初学者-simple servers, customer-communications, debug and try to beginners
- 2022-07-26 12:09:10下载
- 积分:1
-
一个简单的b tree 实现代码,可用于缓存数据,提高查询速度
一个简单的b tree 实现代码,可用于缓存数据,提高查询速度-A simple realization of b tree code, can be used to cache data to improve query speed
- 2022-01-25 23:39:54下载
- 积分:1
-
config and build server under linux, helpful
linux下常用的服务器的配置和搭建,对于搭建linux服务平台有很好的帮助-config and build server under linux, helpful
- 2022-03-22 02:38:51下载
- 积分:1
-
Qtopia的键盘插件,可用在linux嵌入式系统中
Qtopia的键盘插件,可用在linux嵌入式系统中-Qtopia keyboard plug-in, can be used in embedded system linux
- 2022-05-24 04:50:04下载
- 积分:1
-
linux下面直接读硬盘扇区的程序,不错,已经测试过,能用,代码也比较清晰...
linux下面直接读硬盘扇区的程序,不错,已经测试过,能用,代码也比较清晰-linux straight respectfully receiveds and reads the hard
disk fan area the procedure, good, has already tested, can use, the
code quite is also clear
- 2022-03-09 10:23:47下载
- 积分:1
-
Linux程序设计(原书第2版)源码,包括书中全部代码,并有makefile文件...
Linux程序设计(原书第2版)源码,包括书中全部代码,并有makefile文件
- 2022-01-24 13:39:16下载
- 积分:1
-
Solaris 培训文档solaris 9 培训文档
Solaris 培训文档solaris 9 培训文档-solaris 9 培训文档solaris 9 培训文档
- 2022-02-05 23:37:09下载
- 积分:1
-
Vidcat procedure is in accordance with the law, can only grasp PPM plans. Makefi...
程序是根据vidcat改的,只能抓PPM的图.
makefile的内容如下,请注意打小写:
cc=gcc
#cflags=-i/firendly-arm/kernel/include -i/usr/local/arm/2.95.3/arm-linux/include -wall -dhave_libjpeg #-dvideo_dev="/dev/v4l/video0" -dversion="0.7.2"
cflags=-wall -dvideo_dev="/dev/video0" -dversion="0.7.2"
camsnap: camsnap.c
用法如下:
camsnap -v -s 420x420 -o my.ppm
这儿请注意:s 的大小必需是8能整除的倍数.
这个程序我是在rh9下作的,需要交叉编译的朋友就把注释去掉,再给下面的注释就可以了.-Vidcat procedure is in accordance with the law, can only grasp PPM plans. Makefile reads as follows, please note that playing lowercase: cc = gcc# Cflags =- i/firendly-arm/kernel/include-i/usr/local/arm/2.95 .3/arm-linux/include-wall-dhave_libjpeg#-dvideo_dev =
- 2023-04-15 21:40:03下载
- 积分:1