Todd Zullinger <tmz@xxxxxxxxx> writes: > By default, yes. The string_list struct uses strcmp() if no > cmp function is given. That's why the previous chunk has: > > struct string_list lines = { .cmp = starts_with }; Ahh, I missed that part. Sounds correct to me, then. Splitting only to iterate over these lines sounds wasteful to me, though, since we do not need access to these lines only one at a time and there is no need to keep an array of them. Thanks.