strtok() uses a global to store its intermediate results. meaning that
you can get unexpected results if several parts of your program use it.
On Mon, 29 Mar 1999, Joseph Keen wrote:
>
>
> > maybe it's just me, but i find this funny...
> >
> > (from the strtok() manpage)
> >
> > BUGS
> > Never use this function.
> >
> > it's a fairly big bug! :) i expect there are similar things stuck to
> > nuclear warheads (Warning! This device is hazardous to most forms of life,
> > do not use).
> >
> where is this? It's not in my manpage.
>