1、 了解系统调用pipe()的功能和实际原理 2、 编写一段程序,使用管道实现父子进程之间的通信 a) 使用系统调用fork()创建一个子进程 b) 子进程调用函数write()向父进程发送自己的进程ID和字符串” s sending a message to parent.\n”。 c) 父进程调用函数read()通过管道读出子进程发来的消息,将消息输出屏幕,然后终止
上传时间: 2013-12-16
上传用户:古谷仁美
1、 了解系统调用fork()、execl()、exit()、getpid()和waitpid()的功能和实现过程 2、 编写一段程序实现以下功能: a) 使用系统调用fork()创建两个子进程 b) 父进程重复显示字符串”parent:”,并使用函数getpid()显示自己的进程ID。 c) 两个子进程分别重复显示字符串”child:”,并使用函数getpid()显示自己的进程ID 3、 编写一段程序实现以下功能: a) 使用系统调用fork()创建一个子进程 b) 子进程显示自己的进程ID和字符串": The child is calling an exec.\n",然后通过execl()调用系统命令ps显示当前运行的进程情况,从而更换自己的执行代码,最后调用exit()结束。 c) 父进程显示自己的进程ID和字符串” ": The parent is waiting for child to exit.\n ",然后调用waitpid()等待子进程结束,并在子进程结束后显示”The parent exit.\n
上传时间: 2013-12-18
上传用户:叶山豪
web应用控件,主要是实现的web开发中文件的加密和解密.该控件b/s架构的应用系统 中有比较好的用途
上传时间: 2015-08-13
上传用户:zuozuo1215
大国补丁后的nessus2.2.8的源代码,2.2.8中有较严重的b
上传时间: 2015-08-15
上传用户:zhaoq123
主要介绍了B样条曲线的数学定义和性质,以及在工程时间中的应用,以及B样条曲线的改进
上传时间: 2014-07-01
上传用户:zhaiyanzhong
PIC MCU开发用的一个小工具,用于对某些外设芯片子程序的调试,有2个按键\2x20的字符LCD,3个I/O,1个UART,非常好用,包含SCH\PCB 以及初始化C代码.
上传时间: 2013-11-25
上传用户:wangdean1101
一般文献对A—B效应的分析不够明了,作者就此问题进行了探究,力求寻求一种既省时又省力简单明了的方法,试着用费曼的的路径积分理论定量地分析由矢势A和标∞势所致的A_B效应及超导量子干涉效应、介观体系中的A_B效应等这些前沿领域的课题。
上传时间: 2014-01-27
上传用户:372825274
b+tree树的java实现。 是一个框架, 可以往里加新的东西, 实现复杂的功能
上传时间: 2015-08-20
上传用户:84425894
This section contains a brief introduction to the C language. It is intended as a tutorial on the language, and aims at getting a reader new to C started as quickly as possible. It is certainly not intended as a substitute for any of the numerous textbooks on C. 2. write a recursive function FIB (n) to find out the nth element in theFibanocci sequence number which is 1,1,2,3,5,8,13,21,34,55,…3. write the prefix and postfix form of the following infix expressiona + b – c / d + e * f – g * h / i ^ j4. write a function to count the number of nodes in a binary tr
标签: introduction the contains intended
上传时间: 2013-12-23
上传用户:liansi
高级树,介绍各种高级树的原理,如B+树,策略树,等
上传时间: 2014-01-01
上传用户:牛布牛