rar

Apply UNIX\'s fork() and other system calls

  • 2014-03-05
  • 3.81KB
  • Points it Requires : 2

Apply UNIX\'s fork() and other system calls to write a C program with the following functions: a) Implement the basic functions of Shell, including: print prompt; accept and analyze command lines (filter invalid spaces, tabs, and newlines, etc.); execute commands (with error handling; enter exit or bye to exit); return to the parent process; b) Process background programs (no wait required) c) Process multi-line commands (analyze the \' \' in the command line and process it) d) Apply dup() and pipe() system calls to have input and output redirection and pipe functions;

unfold

You Might Like

Uploader
rubyonrails
 

Recommended ContentMore

Popular Components

Just Take a LookMore

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
×