-
根据用户输入的命令行选项的不同,来实现三种功能: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
-
用C语言在Linux操作系统的USB模块
usb modual with c at Linux operation system-usb modual with c at Linux operation system
- 2022-03-05 11:32:46下载
- 积分:1
-
chinalinuxpub.com Forum from beginner version sorted out the best areas for begi...
这篇文档是由chinalinuxpub.com论坛初学版精华区整理而成,对初学者来说,是比较入门级的读物.-chinalinuxpub.com Forum from beginner version sorted out the best areas for beginners, is the entry-level books.
- 2022-06-30 14:29:07下载
- 积分:1
-
应用平台 SCO OpenServer 5 编译命令 cc
应用平台 SCO OpenServer 5 编译命令 cc -o fget fget.c -lcurses 此程序适用于SCO UNIX主机系统,客户端为任意平台. 以Windows客户为例,以下简要说明其使用方法. 1、直接拨号方式 先进入Windows的终端仿真器, 使用ATDT命令向UNIX主机拨号,当主机连通时, 运行主机的FGET程序,格式为 FGET 下载文件名.然后,从终端仿真器的传输" 菜单选接收二进制文件选项,输入本地文件名后,即可接收文件. 2、internet连接方式 先将FGET文件在主机上编译通过, 然后用Netterm之类的telnet 软件连接到主机上,当主机连通时,运行主机的FGET程序,格式为 FGET 下载文件名. 然后从菜单选接收文件选项,输入本地文件名后,即可接收文件.-application platform SCO OpenServer compiler five orders cc-o fget fget.c- lcurses this procedure applies to SCO UNIX mainframe system, the client platform to be arbitrary. A Windows client for example, the following brief description of their use. A direct dial-up access ahead of Windows Terminal simulator, ATDT order to use UNIX mainframe dial-up, when the mainframe connectivity, FGET mainframe operating procedures, formats FGET to download the file. Then, terminal emulation from the transmission election quot menu option to receive binary files, input from the local paper, the document may be received. 2 , internet connectivi
- 2022-09-16 13:40:03下载
- 积分:1
-
linux下DIo驱动,在FC5下测试通过!
linux下DIo驱动,在FC5下测试通过!-DIo under linux drivers in the test under FC5!
- 2022-04-23 15:10:27下载
- 积分:1
-
A part of LFS.This is a server software.
A part of LFS.This is a server software.
- 2022-09-22 23:05:03下载
- 积分:1
-
Overview: longitudinal data collection, designed to collect time eDonkey network...
概述:数据的纵向收集,目的是收集时光网和电驴网的影视资料信息,存成二进制文件,整理以后导入mysql数据库使用-Overview: longitudinal data collection, designed to collect time eDonkey network and information network for film and television information, stored as a binary file, import later organize the use of mysql database
- 2022-01-26 01:04:41下载
- 积分:1
-
主要是对Linux输入子系统的一些简单操作
比如lsinput是看有多少输入设备
比如input
主要是对Linux输入子系统的一些简单操作
比如lsinput是看有多少输入设备
比如input-events是看输入设备的键值
用来调试输入子系统很好-Mainly for Linux input subsystem of a few simple operations such as watch lsinput is the number of input devices such as input-events is to look at the key input device used to debug a very good input subsystem
- 2023-07-18 22:05:02下载
- 积分:1
-
《Linux Kernel核心中文手册 》――硬件基础知识、软件基础、内存管理、进程、进程间通讯机制、PCI...
《Linux Kernel核心中文手册 》――硬件基础知识、软件基础、内存管理、进程、进程间通讯机制、PCI- Linux Kernel core Chinese manual - basic knowledge of hardware, software infrastructure, memory management, process, inter-process communication mechanism, PCI
- 2022-04-08 06:39:55下载
- 积分:1
-
嵌入式系统中的回声程序
Echo program in Embedded Systems-Echo program in Embedded Systems.......
- 2022-02-05 21:43:31下载
- 积分:1