赞
踩
struct _dnode
{ union { struct _dnode *head; /* 链表头指针 (sys_dlist_t) */ struct _dnode *next; /* 下一节点指针(sys_dnode_t) */ }; union { struct _dnode *tail; /* 链表尾指针 (sys_dlist_t) */ struct _dnode *prev; /* 上一节点指针 (sys_dnode_t) */ }; }; typedef struct _dnode sys_dlist_t; //表示链表,使用*head和*tail typedef struct _dnode sys_dnode_t; //表示节点,使用*next和*prev |
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。