-
根据用户输入的命令行选项的不同,来实现三种功能: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
-
好多上载非界面和非WEB源码
好多上载非界面和非WEB源码-lot on the non-Web interface and the non-source
- 2022-02-03 09:58:52下载
- 积分:1
-
host usb 主设备程序 支持sd卡 mouse keyboard 的最单单的驱动程序 gcc编译...
host usb 主设备程序 支持sd卡 mouse keyboard 的最单单的驱动程序 gcc编译-the main host usb device supports sd card mouse keyboard alone most of the gcc compiler driver
- 2022-08-19 17:17:46下载
- 积分:1
-
Linux下的.wav文件播放示例,装了QT的话先#qmake
Linux下的.wav文件播放示例,装了QT的话先#qmake -project生成工程文件pcm.pro,然后
#qmake pcm.pro生成Makefile,然后
#make 最后
#./pcm 执行
注意代码里面包括要播放的.wav文件的路径-Linux under. Wav file playback example, QT installed, then the first# Qmake-project to generate engineering documents pcm.pro, and then# Qmake pcm.pro generated Makefile, then# Make the final#./Pcm attention to the implementation of the code inside the including the need to play. wav file path
- 2022-03-10 16:40:16下载
- 积分:1
-
本手册页内容摘自GNU C编译器的完整文档,仅限于解释选项的含义。...
本手册页内容摘自GNU C编译器的完整文档,仅限于解释选项的含义。-This manual page is taken from the GNU C compiler complete document, limited to explain the meaning of options.
- 2023-05-12 06:50:03下载
- 积分:1
-
基于minigui的浏览器. 这是最新版本.
基于minigui的浏览器. 这是最新版本.-Minigui-based browser. This is the latest version.
- 2023-04-07 10:05:03下载
- 积分:1
-
BLT is a library of extensions to the Tk library. It adds new commands and varia...
BLT is a library of extensions to the Tk library. It adds new commands and variables to the application s interpreter. -BLT is a library of extensions to the Tk LIBR ary. It adds new commands and variables to the ap scalable s interpreter.
- 2022-02-11 22:57:24下载
- 积分:1
-
Unix和Linux网络驱动程序
unix and linux net driver
- 2022-03-10 22:54:42下载
- 积分:1
-
it is a source code for ford fulkerson algorithm
it is a source code for ford fulkerson algorithm
- 2022-04-15 00:49:06下载
- 积分:1
-
linux下的xml库,本人已经编译过,没有问题,请各位支持一下。...
linux下的xml库,本人已经编译过,没有问题,请各位支持一下。-xml library under linux, I have compiled, no problem, please support you.
- 2022-01-25 14:37:24下载
- 积分:1