Re: strtok non reentrant

From: Sean Neakums
Date: Tue Aug 19 2003 - 05:56:26 EST


peter enderborg <pme@xxxxxxxxx> writes:

> Why do the 2.4 kernel having the non reentrant strtok() functions? Is
> there any reason at all not to have
> strtok_r() instead?

You probably want strsep(). strtok() seems to be deprecated.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/