搜索资源列表
LinuxUART
- linux 下串口编程 #include <stdio.h> /*标准输入输出定义*/ #include <stdlib.h> /*标准函数库定义*/ #include <unistd.h> /*Unix标准函数定义*/ #include <sys/types.h> /**/ #include <sys/stat.h> /**/ #include <fcntl.h> /*文件控制定义*/ #inc
ADTest
- 6410 ADC测试 #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <fcntl.h> #include <linux/fs.h> #incl
shell
- #include<stdio.h> #include<string.h> #include<limits.h> #include<unistd.h> #include<sys/types.h> #define PROMPT_STRING "[myshell]$" #define QUIT_STRING "exit\n" static char inbuf[MAX_CANON] char *
vh2sc
- 将VHDL转换为C的软件 将VHDL转换为C的软件-VH2SC is a free basic VHDL to SystemC converter. The converter handles a small subset of Synthesisable VHDL 87/93 language constructs. The current version translates all VHDL IEEE types to sc_int/sc_uint/integers and boole
UNIXCcode
- 用C语言编写的Unix代码实例 供大家参考 -#include <sys/sem.h> #include <sys/types.h> #include <sys/ipc.h> #include <stdio.h> #include <sys/stat.h> #define VERIFYERR(a, b) if (a) fprintf(stderr, " s failed.\n", b) else fp
Linux-serial
- Linux 系统串口使用代码 /* * Program: serial.c * Author: Paul Dean * Version: 0.0.3 * Date: 2002-02-19 * Descr iption: To provide underlying serial port function, * for high level applications. * */ #include <termios.h>
led-test
- 6410 led测试 include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <linux/ioctl.h> /* 瀹氫箟骞绘暟 */ #define MEMDEV_IOC_MAGIC k -include <stdio.h> #include <sys/typ
bit-test
- If linux/types.h is already been included, assume it has defined everything we need. (cross fingers) Other header files may have also defined the types that we need. - If linux/types.h is already been included, assume it has defined everything we
dijihook
- windows系统下的编程,消息message的传递是贯穿其始终的。这个消息我们可以简单理解为一个有特定意义的整数,正如我们看过的老故事片中的“长江长江,我是黄河”一个含义。windows中定义的消息给初学者的印象似乎是“不计其数”的,常见的一部分消息在winuser.h头文件中定义。hook与消息有着非常密切的联系,它的中文含义是“钩子”,这样理解起来我们不难得出“hook是消息处理中的一个环节,用于监控消息在系统中的传递,并在这些消息到达最终的消息处理过程前,处 理某些特定的消息”。这也是h
md5
- 基于MD5的文件完整性检测程序,共包含4个文件:md5.h、md5.cpp、test.cpp、nankai.txt。其中md5.h与md5.cpp文件实现了md5类。test.cpp文件包含了整个程序的main函数,根据不同的命令完成不同的功能,如显示摘要信息,生成MD5摘要等。nankai.txt是本书提供的用于验证文件完整性测试文件。读者可以自己编写程序来生成nankai.txt的md5摘要,然后与书中的结果进行比较,验证所编程序的正确性。 编译:命令行模式下,切换到代码所在目录,输入m
warehose
- linux下的仓库物联网系统 linux下的仓库物联网系统 linux下的仓库物联网系统 -#include<stdio.h> #include<sys/types.h> #include<sys/ipc.h> #include<sys/msg.h> #include<stdlib.h> #include<unistd.h> #include<string.h> #include<
osd_types
- osd_types.h - Types and constants which are not part of the protocol.
compress_params
- compress_params.h - codec types and parameters for compressed data streaming interface.
types
- Android has stl_pair.h, prevent using it by defining the header guard.
ebt_ip6
- On some systems this type is not defined by <bits ioctl-types.h> in that case, the functions are just stubs that return ENOSYS. -On some systems this type is not defined by <bits ioctl-types.h> in that case, the functions are just stub
types
- psauxerr.h PS auxiliary module error codes (specification only).This file is used to define the PS auxiliary module error enumeration constants. -psauxerr.h PS auxiliary module error codes (specification only).This file is used to define the PS a
pathmax
- Define PATH_MAX somehow. Requires sys types.h.
res_debug
- efine DEBUG endif include <sys types.h> include <netinet in.h> include <stdio.h> include <arpa nameser.h> Device Driver for linux.
negotiate
- tring.h> include <stdio.h> include <errno.h> include <sys mount.h> include <sys types.h> include <rfs message.h> include <rpc rpc.h> Device Driver for linux.
err
- Include rpc types.h to get bool_t, TRUE and FALSE. The window system headers also defined TRUE and FALSE and rpc types.h does not check so we undefine them here just to be sure.