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

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

于 2023-05-10 发布 文件大小:114.61 kB
0 165
下载积分: 2 下载次数: 1

代码说明:

在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.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • MOTO智能LINUX手机MOTO E2 手机图形接口源码
    MOTO智能LINUX手机MOTO E2 手机图形接口源码-MOTO Smart LINUX mobile phone MOTO E2 graphics interface source
    2023-03-15 17:25:03下载
    积分:1
  • linux内核的系统上,编写程序。C语言基础。讲的东西很多,很详细。是嵌入式开发的入门秘笈...
    在linux内核的系统上,编写程序。C语言基础。讲的东西很多,很详细。是嵌入式开发的入门秘笈-In the linux kernel system, programming. C language-based. Talking about something a lot of very detailed. Tips for Getting Started with embedded development
    2022-06-17 23:41:16下载
    积分:1
  • linux 下的进程管理
    linux 下的进程管理-the process under management
    2023-05-31 01:25:03下载
    积分:1
  • Linux 是一个源码开放的操作系统,无论是普通用户还是企业用户都可以编写自己的内核代码,再加上对标准内核的裁剪从而制作出适合自己的操作系统。目前有很多中低端用...
    Linux 是一个源码开放的操作系统,无论是普通用户还是企业用户都可以编写自己的内核代码,再加上对标准内核的裁剪从而制作出适合自己的操作系统。目前有很多中低端用户使用的网络设备的操作系统是从标准 Linux 改进而来的,这也说明了有越来越多的人正在加入到 Linux 内核开发团体中。 一个或多个内核模块的实现并不能满足一般 Linux 系统软件的需要,因为内核的局限性太大,如不能在终端上打印,不能做大延时的处理等等。当我们需要做这些的时候,就需要将在内核态采集到的数据传送到用户态的一个或多个进程中进行处理。这样,内核态与用户空间进程通信的方法就显得尤为重要。在 Linux 的内核发行版本中没有对该类通信方法的详细介绍,也没有其他文章对此进行总结,所以本文将列举几种内核态与用户态进程通信的方法并详细分析它们的实现和适用环境。 source code 2 -Linux is an open-source operating system, both ordinary users or enterprises, users can prepare their core code, coupled with the standard kernel cutting thereby making up their own operating system. There are a lot of low-end users of the network equipment from the standard operating system Linux is improving from the This also shows that the more and more people are added to the Linux kernel development groups. One or more modules and the realization of general Linux can not satisfy the needs of system software, because the core is too restrictive, such as the terminal can print, can not handle the b
    2022-01-26 00:11:59下载
    积分:1
  • linux下基于i2c总线的一款gpio驱动
    linux下基于i2c总线的一款gpio驱动-a driver for gpio which is based i2c bus
    2022-02-13 13:51:18下载
    积分:1
  • 在终端上显示当前日期和时间
    在终端上显示当前日期和时间-displayed on terminals in the current date and time
    2022-05-19 14:53:00下载
    积分:1
  • 包含MIB源文件以及相应C、H文件。实现DisplayString类型的GET和SET功能。供初学者参考...
    包含MIB源文件以及相应C、H文件。实现DisplayString类型的GET和SET功能。供初学者参考-Contains the MIB source file and the corresponding C, H file. Achieve DisplayString type GET and SET functions. Reference for beginners
    2023-05-12 17:30:03下载
    积分:1
  • linux under a self
    linux下,自编的一个基于linux文件系统的数据库,实现简单的数据库操作,适于初学者。编译后运行主程序demo。-linux under a self-linux-based file system database, the realization of a simple database operation, suitable for beginners. After compiling the main program running demo.
    2023-01-01 03:30:17下载
    积分:1
  • linux下的wifi源码,可以直接编译测试运行..希望大家能有作用
    linux下的wifi源码,可以直接编译测试运行..希望大家能有作用-wifi under linux source code, you can directly compile the test run .. hope that we can have the role of
    2023-02-22 17:50:04下载
    积分:1
  • gui.c的 开发
    gui.c的 开发-gui.c development
    2022-01-25 15:18:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载