操作系统实验:实现命令执行与进程管理.pdfVIP

  • 0
  • 0
  • 约2.74万字
  • 约 32页
  • 2026-03-23 发布于北京
  • 举报

操作系统实验:实现命令执行与进程管理.pdf

3.1#includestdio.h#includestring.h//strlen#include

unistd.h//exec#includestdlib.h#includeerrno.h//#include

sys/types.h#includesys/wait.h//WEXITSTATUSintmain(){int

_

val;intrtn;//子进程返回值intexecerrorno;charcommand[256];

char*p;while(1){//循环直到printf();c

文档评论(0)

1亿VIP精品文档

相关文档