-
根据用户输入的命令行选项的不同,来实现三种功能: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
-
NPTL的使用是大势所趋,学习使用NPTL的教程
NPTL的使用是大势所趋,学习使用NPTL的教程-NPTL is the general trend of using and learning to use the NPTL
- 2022-10-25 08:35:03下载
- 积分:1
-
QT next Qcanvas rendering the use of point, line, polygon drawing program
QT下一个使用Qcanvas绘制点,线,多边形的绘图程序-QT next Qcanvas rendering the use of point, line, polygon drawing program
- 2022-09-28 17:35:03下载
- 积分:1
-
unix系统下top命令的源代码
unix系统下top命令的源代码-top order source code
- 2022-02-05 13:34:21下载
- 积分: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下的串口精灵的类似软件,为嵌入式软件开发人员提供一个在linux下的串口调试的工具...
linux下的串口精灵的类似软件,为嵌入式软件开发人员提供一个在linux下的串口调试的工具-linux serial port under the Wizard of similar software for embedded software developers to provide a serial port under linux debugging tools
- 2022-04-01 09:06:16下载
- 积分:1
-
process management environment.
unix环境进程管理。-process management environment.
- 2023-06-06 21:40:03下载
- 积分:1
-
读者―写者问题的读写操作限制(包括读者优先和写者优先):
1)写―写互斥,即不能有两个写者同时进行写操作。
2)读―写互斥,即不能同时有一个线程在读,而...
读者―写者问题的读写操作限制(包括读者优先和写者优先):
1)写―写互斥,即不能有两个写者同时进行写操作。
2)读―写互斥,即不能同时有一个线程在读,而另一个线程在写。
3)读―读允许,即可以有一个或多个读者在读。
-readers-the problem was the restrictions on reading and writing operations (including readers wrote priority and priority) : 1) write-write mutex, and that is not written there were two parallel write. 2) read-write exclusive, and that is not also a thread reading, and writing in another thread. 3) Reading-time permitting, there may be one or more readers in Reading.
- 2022-05-20 17:11:31下载
- 积分:1
-
一个巴西大学编写的2D仿真组足球机器人程序
一个巴西大学编写的2D仿真组足球机器人程序-University prepared a Brazilian group 2D simulation robot soccer program
- 2022-02-19 22:41:47下载
- 积分:1
-
linux 下,lgs8gl5的驱动源代码,放血了,把所有的东东都弄上来了,会不会被老板杀了啊?...
linux 下,lgs8gl5的驱动源代码,放血了,把所有的东东都弄上来了,会不会被老板杀了啊?-linux under, lgs8gl5 driver source code, bloodletting, and put all the Dongdong都弄up, will be bosses kill ah?
- 2022-03-15 02:43:53下载
- 积分:1