搜索资源列表
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 *
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
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.
powercap
- powercap.h: Data types and headers for sysfs power capping interface.
types
- Android has stl_pair.h, prevent using it by defining the header guard.
float
- float.h - Characteristics of floating point types.
nand_ecc
- Platform-specific types and definitions for OpenGL ES 2.X gl2.h.
flashchip
- float.h - Characteristics of floating point types.
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.