首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 在myshell v0.1的基础上,增加新的功能:在父进程中接收控制台输入一行字符串,作为用户发出的Linux命令,如ls /usr/*.c <回车&gt...

在myshell v0.1的基础上,增加新的功能:在父进程中接收控制台输入一行字符串,作为用户发出的Linux命令,如ls /usr/*.c <回车&gt...

  • 资源大小:113.72 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: Linux-Unix program others

资 源 简 介

在myshell v0.1的基础上,增加新的功能:在父进程中接收控制台输入一行字符串,作为用户发出的Linux命令,如ls /usr/*.c <回车>,在创建一个子进程后,子进程通过调用execlp()系统调用,执行这条命令。-In the myshell v0.1 based on adding new features: In the parent process to receive the console input line of string, as issued by the Linux user commands, such as ls/usr /*. c < Enter " , in creating a sub- the process, the child process by calling execlp () system call, the implementation of this Order.

文 件 列 表

07302601_谢海斌_Myshellv0.2
a.out
xhb02.c
07302601_谢海斌_Myshellv0.2.docx
07302601_谢海斌_Myshellv0.2
VIP VIP
0.199791s