文件名称:myshell_v0.3
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.82kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
在Linux中,用C编写一个myshell1原型,基本功能是根据创建一个子进程,它显示从父进程获得的环境变量和命令行参数,且父进程在子进程结束后退出。 父进程中接收控制台输入一行字符串,作为用户发出的Linux命令,如ls /usr/*.c <回车>,在创建一个子进程后,子进程通过调用execlp()系统调用,执行这条命令。输入输出重定向与管道-In Linux, using C to write a myshell1 prototype, the basic function is based on creating a child process, it appears received from the parent process environment variables and command line parameters, and the parent process after the child process to exit. Parent process to receive console input line of string, as issued by the Linux user commands such as ls/usr /*. c < Enter> , in the process of creating a child, the child process by calling execlp () system call, the implementation of this command. Input and output redirection and pipes
(系统自动生成,下载前可以参看下载内容)
下载文件列表
myshell_v0.3.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.