搜索资源列表
myls
- 在linux下使用C代码,实现shell指令ls -l 的功能。注重于从文件中读取目录中的信息,然后控制格式,达到ls -l 的功能。-In linux using C code, and achieve the shell command ls-l functions. Focus on reading from the file directory information, and then control the format, to ls-l functions.
Normal-files-directories-
- 普通文件和目录编程 1. 编写程序mycp.c,实现从命令行读入文件的复制功能,用原始文件系统调用。 2. 编写程序mycat.c,实现文件内容的显示,用原始文件系统调用实现。 3. 用流文件系统函数重新编写上面的程序。 . 调用目录函数,编写程序myls.c,实现按下面格式显示当前目录文件列表:文件名 文件大小 文件创建时间 注意研究文件创建时间的转换,即如何把从1970年1月1日起的秒数转换为表示时间的字符串,从而显示出来,注意研究asctime()函数和ctime(
myls
- Programm, which works like ls or dir in unix
myls
- 熟练掌握linux对目录的编程,实现ls -l命令-Master directory linux programming to achieve ls-l command