OSExperiment:NUAA操作系统实验

时间:2021-05-08 21:29:24
【文件属性】:
文件名称:OSExperiment:NUAA操作系统实验
文件大小:4.25MB
文件格式:ZIP
更新时间:2021-05-08 21:29:24
C OSExperiment Operating system experiment, NUAA Preview Table of Contents File R/W myecho.c的功能与系统echo程序相同 接受命令行参数,并将参数打印出来,例子如下: $ ./myecho x x $ ./myecho a b c a b c mycat.c的功能与系统cat程序相同 mycat将指定的文件内容输出到屏幕,例子如下: 要求使用系统调用open/read/write/close实现 $ cat /etc/passwd root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin ... $ ./mycat /etc/p

网友评论