-
根据用户输入的命令行选项的不同,来实现三种功能: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
-
在Linux环境下,使用共享外部变量的方式,实现哲学家进餐问题...
在Linux环境下,使用共享外部变量的方式,实现哲学家进餐问题-the Linux environment, the use of shared external variables, to achieve the Dining Philosophers Problem
- 2022-10-14 14:15:03下载
- 积分:1
-
在linux下用c语言开发的产生数独游戏的矩阵。
在linux下用c语言开发的产生数独游戏的矩阵。-generate the matrix of sudoku randomly.
- 2023-08-20 10:05:03下载
- 积分:1
-
vim7.2最新源码。Vim 7.2修正了大量bug并更新了运行时文件,最主要的新特性在于加入对脚本浮点数的支持。另外,修正了上一版中发现多个导致崩溃和威胁安全...
vim7.2最新源码。Vim 7.2修正了大量bug并更新了运行时文件,最主要的新特性在于加入对脚本浮点数的支持。另外,修正了上一版中发现多个导致崩溃和威胁安全的问题。-vim7.2 the latest source. Vim 7.2 a large number of bug fixes and updated runtime files, the most important new features to add to the script floating point support. In addition, the amended version of one found on a number of lead to the collapse and the threat of security.
- 2022-03-24 21:02:13下载
- 积分:1
-
是一份LINUX下面的C语言编程的资料,讲的很详细,是超星格式的,对LINUX下的C开发感兴趣的可以看看。...
是一份LINUX下面的C语言编程的资料,讲的很详细,是超星格式的,对LINUX下的C开发感兴趣的可以看看。-LINUX is a C language programming the following information, speak in great detail, is Chaoxing format of the C development under LINUX interested can look at.
- 2022-11-14 13:45:07下载
- 积分:1
-
QT4 classic tutorial, very useful for learning qt, U.S. support for what
Qt4 的经典教程,对学习qt非常有用,大家支持一下-QT4 classic tutorial, very useful for learning qt, U.S. support for what
- 2022-03-26 10:48:37下载
- 积分:1
-
s1240 74字节话单二进制格式转换程序,程序结构可用语其他交换机话单格式转换...
s1240 74字节话单二进制格式转换程序,程序结构可用语其他交换机话单格式转换-s1240 74 single-byte words binary format conversion procedures, program structure can then switch language other single format conversion
- 2022-08-20 08:27:55下载
- 积分:1
-
适合初学者阅读的源代码,包括下的下,回声,P
适合新手读的c源代码,包含linux下ls、echo、ping等常用工具的源代码-C suitable for novice reading the source code, including linux under ls, echo, ping and other commonly used tools for source code
- 2022-05-14 18:00:17下载
- 积分:1
-
linux0.11版(301k)
linux0.11 version(301k)
- 2022-01-22 17:29:51下载
- 积分:1
-
linux2.6.21 the h1940patch
linux2.6.21的h1940patch-linux2.6.21 the h1940patch
- 2023-05-16 22:25:03下载
- 积分:1