468,504 Members | 1,979 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,504 developers. It's quick & easy.

strtok_r or strtok_s

OK,

I have used the strtok_r for the re-entrant posix capability, I just noticed that VC 2008 has a strtok_s what is this? It works the same but does not mention the reason for the change.

Is it a windows strtok_r equivalent?
Apr 1 '08 #1
1 8690
weaknessforcats
9,207 Expert Mod 8TB
strtok_s is a secure version of strtok that does not overrun buffers.

It is Microsoft specific.
Apr 1 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

By using this site, you agree to our Privacy Policy and Terms of Use.