软讯网络 > 编程语言 > C/C++ > Linux C常用类型定义
【标 题】:Linux C常用类型定义
【关键字】:
Linux
【来 源】:http://www.cublog.cn/u/13329/showart.php?id=241277
Linux C常用类型定义
typedef struct _IO_FILE FILE;
typedef struct st_list LIST;
typedef struct st_mem_root MEM_ROOT;
typedef struct st_mysql MYSQL;
typedef struct st_mysql_bind MYSQL_BIND;
typedef struct st_mysql_data MYSQL_DATA;
typedef struct st_mysql_field MYSQL_FIELD;
typedef struct st_mysql_res MYSQL_RES;
typedef char ** MYSQL_ROW;
typedef struct st_mysql_rows MYSQL_ROWS;
typedef struct st_mysql_stmt MYSQL_STMT;
typedef struct st_net NET;
typedef struct st_used_mem USED_MEM;
typedef struct st_vio Vio;
struct _IO_FILE;
struct _IO_FILE;
typedef void _IO_lock_t;
struct _IO_marker;
struct _IO_marker;
typedef long int __blkcnt_t;
typedef long int __blksize_t;
typedef long long unsigned int __dev_t;
typedef long int __fd_mask;
typedef unsigned int __gid_t;
typedef long unsigned int __ino_t;
typedef unsigned int __mode_t;
typedef unsigned int __nlink_t;
typedef long long int __off64_t;
typedef long int __off_t;
typedef long long int __quad_t;
typedef long int __suseconds_t;
typedef long int __time_t;
typedef long long unsigned int __u_quad_t;
typedef unsigned int __uid_t;
typedef char;
typedef char;
struct cns_mysql_struct;
typedef double;
typedef double;
enum enum_field_types;
enum enum_mysql_stmt_state;
enum enum_mysql_stmt_state;
enum enum_server_command;
typedef struct {
__fd_mask __fds_bits[32];
} fd_set;
typedef char * gptr;
struct hostent;
struct in_addr;
typedef unsigned int in_addr_t;
typedef short unsigned int in_port_t;
typedef int;
typedef long int;
typedef long int;
typedef long long int;
typedef long long unsigned int;
typedef long unsigned int;
typedef unsigned int mode_t;
typedef char my_bool;
typedef int my_socket;
typedef long long unsigned int my_ulonglong;
enum mysql_option;
enum mysql_status;
struct re_pattern_buffer;
typedef long unsigned int reg_syntax_t;
typedef struct re_pattern_buffer regex_t;
typedef struct {
regoff_t rm_so;
regoff_t rm_eo;
} regmatch_t;
typedef int regoff_t;
typedef short unsigned int sa_family_t;
typedef short int;
typedef short unsigned int;
typedef signed char;
typedef unsigned int size_t;
struct sockaddr_in;
struct st_list;
struct st_mem_root;
struct st_mysql;
struct st_mysql_bind;
struct st_mysql_bind;
struct st_mysql_data;
struct st_mysql_field;
struct st_mysql_methods;
struct st_mysql_methods;
struct st_mysql_options;
struct st_mysql_res;
struct st_mysql_res;
struct st_mysql_rows;
struct st_mysql_stmt;
struct st_mysql_stmt;
struct st_net;
struct st_used_mem;
struct stat;
typedef long int time_t;
struct timespec;
struct timeval;
struct tm;
typedef short unsigned int uint16_t;
typedef unsigned int uint32_t;
typedef unsigned char;
typedef unsigned int;
typedef unsigned int;
typedef unsigned int;