use pointer: and remember to check NULL (that's the only essential difference between pass-by-value and pass-by-pointer).
status init_linklist(Linklist* pList ){ Assert(pList != NULL);.......}//////别人告诉我的。TO 2楼:头结点是可以在函数里面定义吧,可是函数必须要一个参数啊,这样定义个参数不知道对不对?