链表头问题
精灵猴儿 2016-03-08 11:09:53
p_list_head = GPS_CHNL_ACQ_LIST();
for (idx = 0; idx < CHNL_NUM; ++idx)
{
........
list_add_tail(&p_chnl_info[idx].m_node, p_list_head);
........
}
p_list_head = GPS_CHNL_TRK_LIST();
可以请大神帮我解释一下,执行完这段程序之后, 现在的p_list_head 指向哪儿?以及&p_chnl_info[idx].m_node和链表头之间是怎样的数据结构吗?