[uClibc]strtok_r function missing

Glenn McGrath bug1 at optushome.com.au
Thu Mar 1 22:05:06 UTC 2001


Manuel Novoa III wrote:
> 
> On Thu, 01 Mar 2001, michaels at jungo.com wrote:
> > I think, all xxx_r functions in glibc are just reentrant versions of
> > xxx.
> > So, I suppose since we are missing threads in uclibc, you may safely use
> > strtok.
> 
> Uhh... what if you wanted to extract tokens alternately from two strings in a
> non-threaded program.  You can't do that with strtok, but you can with strtok_r.
> 
Which is what i was trying to do, before i found a better way :)

> I'll add strtok_r later today, and probably make strtok just a small wrapper
> around it.
> 
> Manuel
> 

Thanks


Glenn





More information about the uClibc mailing list