文件名称:myshell.c
-
所属分类:
- 标签属性:
- 上传时间:2016-03-01
-
文件大小:1.17kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Your shell prompt MUST adhere to the following format:
o Current date (optional) and time (mandatory) followed by the hash sign (e.g., 13:03:00#)
Your shell MUST support, at minimum, the following commands: o The internal shell command “exit” to terminate the shell o ls, with no arguments
o ls, with arguments (e.g., ls –l)
o echo
Your shell WILL NEED system calls fork(), waitpid(), and one of execv, execve or execvp. You MUST
NOT use the C library function system(). You WILL receive a grade of zero if you do so.
You MUST check and correctly handle all return values. This means that you need to read the man pages for the system calls to figure out what the possible return values are and the types of errors
they indicate, and what you must do when you get that error.
- Your shell prompt MUST adhere to the following format:
o Current date (optional) and time (mandatory) followed by the hash sign (e.g., 13:03:00#)
Your shell MUST support, at minimum, the following commands: o The internal shell command “exit” to terminate the shell o ls, with no arguments
o ls, with arguments (e.g., ls –l)
o echo
Your shell WILL NEED system calls fork(), waitpid(), and one of execv, execve or execvp. You MUST
NOT use the C library function system(). You WILL receive a grade of zero if you do so.
You MUST check and correctly handle all return values. This means that you need to read the man pages for the system calls to figure out what the possible return values are and the types of errors
they indicate, and what you must do when you get that error.
o Current date (optional) and time (mandatory) followed by the hash sign (e.g., 13:03:00#)
Your shell MUST support, at minimum, the following commands: o The internal shell command “exit” to terminate the shell o ls, with no arguments
o ls, with arguments (e.g., ls –l)
o echo
Your shell WILL NEED system calls fork(), waitpid(), and one of execv, execve or execvp. You MUST
NOT use the C library function system(). You WILL receive a grade of zero if you do so.
You MUST check and correctly handle all return values. This means that you need to read the man pages for the system calls to figure out what the possible return values are and the types of errors
they indicate, and what you must do when you get that error.
- Your shell prompt MUST adhere to the following format:
o Current date (optional) and time (mandatory) followed by the hash sign (e.g., 13:03:00#)
Your shell MUST support, at minimum, the following commands: o The internal shell command “exit” to terminate the shell o ls, with no arguments
o ls, with arguments (e.g., ls –l)
o echo
Your shell WILL NEED system calls fork(), waitpid(), and one of execv, execve or execvp. You MUST
NOT use the C library function system(). You WILL receive a grade of zero if you do so.
You MUST check and correctly handle all return values. This means that you need to read the man pages for the system calls to figure out what the possible return values are and the types of errors
they indicate, and what you must do when you get that error.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
myshell.c
__MACOSX/
__MACOSX/._myshell.c
__MACOSX/
__MACOSX/._myshell.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.