Re: parse functions

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 30 Jan 2001 18:39:53 +0100

You are most welcome to try to write a new config file parser. The
current one sucks badly.

No, there is no reason other than that is the way it is done and has
been done.

/Henrik

Chemolli Francesco (USI) wrote:
>
> > + unsigned char *token = strtok(NULL, null_string);
>
> The Linux manpage for strtok discourages greatly using
> strtok. Is there any reason to favour it as opposed to strchr,
> strpbrk, strstr or strsep?
>
> --
> /kinkie
Received on Tue Jan 30 2001 - 10:40:10 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:26 MST