"作为文件名前缀来重定向stdin和stdout描述符。同样,允许用户使用管道操作符""来同时执行两个进程,并把第一个进程的stdout重定向为第二个进程的stdin。-1.PreparationofaCprogramasaLinuxkernelshellcommandlineinterpreter.ShellproceduresshouldbeusedwithBourceshellthesamewayasoperationalprocedures.2.Increasedfunctionalitysothatcustomerscanuse,""operator,asorderedbytheendtags.A""theendoftheordershouldbeconcurrentwiththeimplementationoftheshell.3.Increasedfunctionalitysothatcustomerscanuse"lt;""Gt;"Asafilenameprefixtoredirectstdinandstdoutdescriptors.Similarly,allowsuserstousepipelineoperator,""twoparallelprocesses,andaprocesstoredirectstdoutsecondprocessstdin.-IMDN开发者社群-imdn.cn"> "作为文件名前缀来重定向stdin和stdout描述符。同样,允许用户使用管道操作符""来同时执行两个进程,并把第一个进程的stdout重定向为第二个进程的stdin。-1.PreparationofaCprogramasaLinuxkernelshellcommandlineinterpreter.ShellproceduresshouldbeusedwithBourceshellthesamewayasoperationalprocedures.2.Increasedfunctionalitysothatcustomerscanuse,""operator,asorderedbytheendtags.A""theendoftheordershouldbeconcurrentwiththeimplementationoftheshell.3.Increasedfunctionalitysothatcustomerscanuse"lt;""Gt;"Asafilenameprefixtoredirectstdinandstdoutdescriptors.Similarly,allowsuserstousepipelineoperator,""twoparallelprocesses,andaprocesstoredirectstdoutsecondprocessstdin. - IMDN开发者社群-imdn.cn">
登录
首页 » Linux-Unix program » 1。编写一个C++程序,作为内核命令行解释器

1。编写一个C++程序,作为内核命令行解释器

于 2022-08-13 发布 文件大小:22.48 kB
0 212
下载积分: 2 下载次数: 2

代码说明:

1. 编写一个C程序作为Linux内核的shell命令行解释程序。Shell程序应该使用与Bource shell相同的方式运行程序。 2. 增加功能以使用户可以使用"&"操作符作为命令的结束符。一个以"&"结尾的命令应该与shell并发执行。 3. 增加功能以使用户可以使用""作为文件名前缀来重定向stdin和stdout描述符。同样,允许用户使用管道操作符" "来同时执行两个进程,并把第一个进程的stdout重定向为第二个进程的stdin。-1. Preparation of a C program as a Linux kernel shell command line interpreter. Shell procedures should be used with Bource shell the same way as operational procedures. 2. Increased functionality so that customers can use, "" operator, as ordered by the end tags. A "" the end of the order should be concurrent with the implementation of the shell. 3. Increased functionality so that customers can use "lt;" "Gt;" As a filename prefix to redirect stdin and stdout descriptors. Similarly, allows users to use pipeline operator, "" two parallel processes, and a process to redirect stdout second process stdin.

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

发表评论

0 个回复

  • Mplayer source code, do not have to introduce you. Media type file format MP3 mp...
    Mplayer源码,不用多介绍了吧。 媒体类型 文件格式 MP3 mp3 m3u CD/DVD cda MPEG和AVI视频 mpg mpeg mpv mps m2v m1v mpe mpa avi mp4 m4e RealAudio和RealVideo rt ra rm rmvb rp rv Windows Media wma wmv wax asx asf wm wmx wvx QuickTime mov qt AAC aac m4a m4p 其他媒体 wav mp2 mp1 mpeg pls xpl smi smil flv ssm sdp aif aiff mid midi rmim acp rpl 3gp amr awb 3g2 au-Mplayer source code, do not have to introduce you. Media type file format MP3 mp3 m3uCD/DVD cdaMPEG and AVI video mpg mpeg mpv mps m2v m1v mpe mpa avi mp4 m4eRealAudio and RealVideo rt ra rm rmvb rp rvWindows Media wma wmv wax asx asf wm wmx wvxQuickTime mov qtAAC aac m4a m4p other media wav mp2 mp1 mpeg pls xpl smi smil flv ssm sdp aif aiff mid midi rmim acp rpl 3gp amr awb 3g2 au
    2022-03-21 01:59:37下载
    积分:1
  • linux下 字符串操作 和流设备 ,linux下文件io 和磁盘操作
    linux下 字符串操作 和流设备 ,linux下文件io 和磁盘操作-linux operating under the string and streaming device, linux file io and disk under the operating
    2023-04-07 08:35:04下载
    积分:1
  • 宽度= gdk_pixbuf_animation_get_width(ANI)
    width = gdk_pixbuf_animation_get_width(ani) height = gdk_pixbuf_animation_get_height(ani) current_frame_list = gdk_pixbuf_animation_get_frames(ani) pixmap = gdk_pixmap_new(w->window, width, height, -1) clean_pixmap = gdk_pixmap_new(w->window, width, height, -1) if (w->style->bg_pixmap[GTK_STATE_NORMAL]) { GdkPixmap *bg = w->style->bg_pixmap[GTK_STATE_NORMAL] GdkGC *gc GdkGCValues values values.tile = bg values.fill = GDK_TILED gc = gdk_gc_new_with_values(w->window, &values, GDK_GC_FILL|GDK_GC_TILE) gdk_gc_set_ts_origin(gc, (w->allocation.width - width)/2, (w->allocation.height-height)/2) gdk_draw_rectangle(clean_pixmap,gc, TRUE, 0, 0, width, height) gdk_gc_destroy(gc) } else { gdk_draw_rectangle(clean_pixmap, w->style->bg_gc[GTK_STATE_NORMAL], TRUE, 0, 0, width, height) }- width = gdk_pixbuf_animation_get_width(ani)
    2022-05-17 15:10:31下载
    积分:1
  • Oracle导出数据文件(Exp/imp)修改程序,可以解决在不同的Oracle版本,不同的字符集环境下无法导入导出的问题...
    Oracle导出数据文件(Exp/imp)修改程序,可以解决在不同的Oracle版本,不同的字符集环境下无法导入导出的问题-derived Oracle data files (Exp/imp) modify the program can be solved in different Oracle versions, different character sets impossible conditions for import and export issues
    2023-05-20 19:00:02下载
    积分:1
  • linux下的tftp socket编程样例
    linux下的tftp socket编程样例-the tftp socket Programming Example
    2023-05-29 17:20:03下载
    积分:1
  • blob: a kind of popular embeded system bootlader for ARM.
    一款arm嵌入式系统常用的bootload程序blob-blob: a kind of popular embeded system bootlader for ARM.
    2022-07-23 17:05:14下载
    积分:1
  • Linux device drivers third edition of the source and e
    Linux设备驱动第三版源码和电子书。里面包含了设备驱动的源代码,还有电子书-Linux device drivers third edition of the source and e-books. Which contains the device driver source code, as well as e-books
    2023-02-27 00:40:03下载
    积分:1
  • zlg7290的linux下的驱动,对于学习i2c总线有很大帮助
    zlg7290的linux下的驱动,对于学习i2c总线有很大帮助-zlg7290 under the linux drivers for the i2c bus study of great help
    2022-03-10 07:24:11下载
    积分:1
  • s3c2410 源码上传,详细的说明了使用jflash下载程序的方法
    s3c2410 源码上传,详细的说明了使用jflash下载程序的方法-S3C2410 source upload, detailed description of the use of jflash download method
    2022-10-10 17:45:03下载
    积分:1
  • Linux环境下,使用udp进行数据接收的实际例子。
    Linux环境下,使用udp进行数据接收的实际例子。-Linux environment, using the udp data received practical examples.
    2022-03-30 14:18:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载