strtok non reentrant
Why do the 2.4 kernel having the non reentrant strtok() functions? Is there any reason at all not to have strtok_r() instead?
Quoted 3 lines · peter enderborg
Why do the 2.4 kernel having the non reentrant
strtok()functions? Is there any reason at all not to havestrtok_r()instead?
You probably want strsep(). strtok() seems to be deprecated.