CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - main.c
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - main.c - List
[
Linux driver
]
a
DL : 0
发送程序与msg1.c类似。在main函数中,删除msg_to_receive声明,代之以buffer[BUFSIZ]。移除消息队列删除代码,并且在running循环中做出如下更改。现在我们调用msgsnd来将输入的文本发送到队列中。 -The sending program msg1.c similar. Delete msg_to_receive statement in the main function, replaced by the buffer [BUFSIZ]. Remove the message queue to delete the code, and make the following changes in the running cycle. Now we call msgsnd to the input text is sent to the queue.
Date
: 2025-12-19
Size
: 1kb
User
:
程晨
[
Linux driver
]
UNIX
DL : 0
Unix环境使用的详细解析,便于初学者学习,包括命令参数意义,用例说明等-Detailed analysis Unix environment, easy for beginners to learn, the main language to master C++
Date
: 2025-12-19
Size
: 204kb
User
:
章章
[
Linux driver
]
md5
DL : 0
基于MD5的文件完整性检测程序,共包含4个文件:md5.h、md5.cpp、test.cpp、nankai.txt。其中md5.h与md5.cpp文件实现了md5类。test.cpp文件包含了整个程序的main函数,根据不同的命令完成不同的功能,如显示摘要信息,生成MD5摘要等。nankai.txt是本书提供的用于验证文件完整性测试文件。读者可以自己编写程序来生成nankai.txt的md5摘要,然后与书中的结果进行比较,验证所编程序的正确性。 编译:命令行模式下,切换到代码所在目录,输入make后回车即可。 运行:在命令行下输入 ./md5 [-参数] 运行程序。根据不同的功能,参数分为五种类型,功能如下: h是帮助信息 t是测试MD5应用程序 c是计算指定文件的MD5值 mv是手动验证指定文件的完整性 fv是通过.md5文件验证指定文件的完整性-MD5-based file integrity testing procedures, contains four files: md5.h, md5.cpp, test.cpp, nankai.txt. Which implements md5.h md5 file with md5.cpp class. test.cpp file contains the main function of the entire program, perform different functions depending on the command, such as display summary information, generate MD5 digest. nankai.txt the book provides file integrity verification test files used. Readers can write your own program to generate md5 summary nankai.txt then be compared with the results of the book, to verify the correctness of compiled programs. Compile: command line mode, switch to the code directory, enter make press Enter. Run: At the command line, type ./md5 [- arguments] to run the program. Divided into five types, the following functions depending on the functions, parameters:. H is help t test MD5 application c is calculated MD5 value of the specified file mv fv manually verify the integrity of the specified file is specified by md5 file validation file integr
Date
: 2025-12-19
Size
: 20kb
User
:
xuting
[
Linux driver
]
rawsocket
DL : 0
基于RawSocket的数据包过滤程序,共包含7个文件:inetheader.h、rawsocsniffer.h、rawsocket.h、rawsocket.c、rawsocsniffer.c、main.c、makefile。 编译:命令行模式下,切换到代码所在目录,输入make即可编译。编译后将生成一个可执行文件main,以及一些obj文件。 运行:命令行下输入 ./main [-s 源IP] [-d 目的IP] [-atui] 即可运行程序,可以通过设置不同的参数可以实现简单的过滤功能。参数功能如下: s是根据源IP地址过滤数据包 d是根据目的IP地址过滤数据包 a是过滤ARP包 t是过滤TCP包 u是过滤UDP包 i是过滤ICMP包-RawSocket based packet filtering program, contains a total of seven files: inetheader.h, rawsocsniffer.h, rawsocket.h, rawsocket.c, rawsocsniffer.c, main.c, makefile. Compile: command line mode, switch to the code directory, enter to compile make. Generates an executable file main, and some obj files compiled after. Run: command line input/main [-s source IP] [-d purpose IP] [-atui] to run the program, you can set different parameters can be achieved simply filtering. Parameter functions are as follows: s is to filter packets based on the destination IP address d is filtered packet is a packet filtering ARP is to filter TCP packets t u i is a UDP packet filtering based on source IP address filtering ICMP packets
Date
: 2025-12-19
Size
: 11kb
User
:
xuting
[
Linux driver
]
TIM_PWM_Output-main
DL : 0
STM32 TIM PWM输出示例 TIM_PWM_Output-main.c-STM32 TIM PWM output demo code TIM_PWM_Output-main.c
Date
: 2025-12-19
Size
: 3kb
User
:
张昌荣
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.