[ovs-discuss] Split a char *string based on a specified delimiter in openvswitch (strtok() is blacklisted)

david jhon djhon9813 at gmail.com
Wed Apr 22 11:24:49 UTC 2015


hi everyone,

I tried to use strtok() method to split up a string based on a delimiter
such as ',' which worked pretty good for me, but after adding my piece of
code in openvswitch util.h/c it failed to compile because this method is
blacklisted for thread safety issues. I'll be really grateful if anybody
here could suggest me a workaround for this.

Thanks a lot!

Kind Regards,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150422/7d04bba4/attachment-0002.html>


More information about the discuss mailing list