-
根据用户输入的命令行选项的不同,来实现三种功能:argc为2时,命令格式为
myfind <pathname>
它要统计出,在常规文件中,...
根据用户输入的命令行选项的不同,来实现三种功能:argc为2时,命令格式为
myfind
它要统计出,在常规文件中,文件长度不大于4096字节的常规文件,在所有允许访问的普通文件中所占的百分比。不允许打印出任何路径名。
argc为4且argv[2] == “-comp”时,命令格式为
myfind -comp
输出在目录子树之下,所有与文件内容一致的文件的绝对路径名。不允许输出任何其它的路径名,包括不可访问的路径名。当参数pathname不是绝对路径时,调用getcwd()等函数来取得文件的绝对路径名。
argc 大于等于4且argv[2] == “-name”时,命令格式为myfind -name ……是一个以空格分隔的文件名序列(不带目录)。命令输出目录子树之下,所有与…序列中文件名相同的文件的绝对路径名。不允许输出不可访问的或无关的路径名。
- 2023-03-19 18:55:03下载
- 积分:1
-
Blue
Blue-small-1.2.tar.bz2.rar
- 2022-01-30 15:06:32下载
- 积分:1
-
The c source code of archieving the hostid of host machine in linux 9.
在linux9下获得主机hostid的c源代码。-The c source code of archieving the hostid of host machine in linux 9.
- 2022-06-30 08:14:40下载
- 积分:1
-
scrip file for linux shell to partition the SD card for beagleboard.
scrip file for linux shell to partition the SD card for beagleboard.
- 2022-11-07 23:50:04下载
- 积分:1
-
用c开发的ioctl源代码
用c开发的ioctl源代码-developed using ioctl source code
- 2023-06-19 20:15:02下载
- 积分:1
-
一个牛人编写的嵌入式操作系统LINUX操作应用,写的相当不错,供大家参考1...
一个牛人编写的嵌入式操作系统LINUX操作应用,写的相当不错,供大家参考1-A cow were prepared by an embedded LINUX operating system, operational applications and write quite well for your reference 1
- 2023-06-15 05:15:03下载
- 积分:1
-
Tai lieu tham khao ve cau lenh cua Linux
Tai lieu tham khao ve cau lenh cua Linux
- 2022-11-26 09:30:03下载
- 积分:1
-
flv to avi divx command in ubuntu 9.10
flv to avi divx command in ubuntu 9.10
- 2022-01-24 09:54:35下载
- 积分:1
-
This is a S3C2440 based on the VGA driver, which is fc.c driver, fc_test.c is th...
这是一个基于S3C2440 的VGA 驱动程序, 其中fc.c 是驱动程序,fc_test.c 是测试代码.
这是一个在LINUX frame buffer基础上利用
DMA 实现的高效驱动, 绝对原创!-This is a S3C2440 based on the VGA driver, which is fc.c driver, fc_test.c is the test code. This is a LINUX frame buffer based on the use of DMA to achieve high-performance drive, an absolute original!
- 2023-07-31 23:35:02下载
- 积分:1
-
linux系统下控制并口端口的c语言代码,很好用
linux系统下控制并口端口的c语言代码,很好用-linux system to control parallel port c language code, a very good use
- 2022-03-18 16:51:56下载
- 积分:1