* strtok non reentrant
@ 2003-08-19 10:39 peter enderborg
2003-08-19 10:54 ` Sean Neakums
0 siblings, 1 reply; 2+ messages in thread
From: peter enderborg @ 2003-08-19 10:39 UTC (permalink / raw)
To: linux-kernel
Why do the 2.4 kernel having the non reentrant strtok() functions? Is
there any reason at all not to have
strtok_r() instead?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: strtok non reentrant
2003-08-19 10:39 strtok non reentrant peter enderborg
@ 2003-08-19 10:54 ` Sean Neakums
0 siblings, 0 replies; 2+ messages in thread
From: Sean Neakums @ 2003-08-19 10:54 UTC (permalink / raw)
To: peter enderborg; +Cc: linux-kernel
peter enderborg <pme@hyglo.com> 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-08-19 10:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-19 10:39 strtok non reentrant peter enderborg
2003-08-19 10:54 ` Sean Neakums
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox