-
根据用户输入的命令行选项的不同,来实现三种功能: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
-
学习UNLIX的好材料 电信内部资料 不容错过
学习UNLIX的好材料 电信内部资料 不容错过-Materials UNLIX good study of the internal telecommunications information should not be missed
- 2022-04-08 17:34:52下载
- 积分:1
-
这是MIZI src包vivi bootloader时需要编制headfiles
this SRC packet is the headfiles that MIZI vivi bootloader needed when compling
- 2022-07-13 19:39:59下载
- 积分:1
-
user agent server源代码,
user agent server源代码,-user agent server source code,
- 2022-05-18 13:54:54下载
- 积分:1
-
本章介绍L i n u x内核是如何维护它支持的文件系统中的文件的....
本章介绍L i n u x内核是如何维护它支持的文件系统中的文件的.-chapter describes L i n u x-core is how to maintain its support for the file system in the papers.
- 2022-02-13 10:19:13下载
- 积分:1
-
moto手机大多是基于linux系统,这是著名的showQ系列源代码,共有8种常用界面,对话框,输入框,ZN5 E8 适用!要先有SDK哦...
moto手机大多是基于linux系统,这是著名的showQ系列源代码,共有8种常用界面,对话框,输入框,ZN5 E8 适用!要先有SDK哦-moto phones are mostly based on linux system, which is the famous showQ series of source code, a total of eight kinds of commonly used interfaces, dialog box, input box, ZN5 E8 apply! Oh, must first have a SDK
- 2022-02-25 11:32:54下载
- 积分:1
-
字符转换程序,经典之做,在多字节环境中常常用此小程序来转换成字符型...
字符转换程序,经典之做,在多字节环境中常常用此小程序来转换成字符型-characters conversion, so classic, the multi-byte environments often use this small program to convert character
- 2022-01-26 07:47:20下载
- 积分:1
-
Credit
图形学分形演示程序,注意是在UNIX/Linux下的,需要X11环境
-Credit-shaped graphics demo program, attention in the UNIX/Linux under the need for X11 environment
- 2022-01-31 09:32:21下载
- 积分:1
-
英文的关于驱动的书籍,我觉得这本书比ldd好,虽然是英文,但是在讲解时引用了很多程序,容易理解...
英文的关于驱动的书籍,我觉得这本书比ldd好,虽然是英文,但是在讲解时引用了很多程序,容易理解-English books on the drive, I think this book ldd than good, although it is in English, but invoked to explain a lot of procedures, easy to understand
- 2022-03-06 06:48:00下载
- 积分:1
-
Linux is a birth in the network, grew up in the network and the maturity of the...
Linux是一个诞生于网络、成长于网络且成熟于网络的奇特的操作系统。直击Linux12问-Linux is a birth in the network, grew up in the network and the maturity of the peculiar network operating system. Live question Linux12
- 2022-06-16 20:47:49下载
- 积分:1