typedef用来定义已有类型的同义词。例如:
typedef double wages;
struct ngx_buf_s {
u_char *pos;
u_char *last;
off_t file_pos;
off_t file_last;
};
typedef structngx_buf_s ngx_buf_t;
typedef用来定义已有类型的同义词。例如:
typedef double wages;
struct ngx_buf_s {
u_char *pos;
u_char *last;
off_t file_pos;
off_t file_last;
};
typedef structngx_buf_s ngx_buf_t;