針對getline()產生的line buffer, 在最後將它free, 卻得到free(): invalid next size (fast). 最後我改用另一種寫法, 先malloc一塊夠大的buffer給line ...
確定! 回上一頁