We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all, I have a question concerning the library function str_scomp(). I see it used in the standard modem example source included with TcpNet library. I cannot find any documentation about its semantic, so, I'm wandering what is its relationship with the standard C library strcmp() function. I have to do partial match string comparison... is it suitable?
Regards, Andrea
"cp must be 0-terminated, but sp does not have to be"
So, presumably, sp must be at least as long as cp?
What happens if sp is shorter than cp - especially if sp is not null-terminated?