string libraries for C

grimepoch's icon

Okay, so it has been a LONG time since I worked in C, and I forgot about the joys of working with strings :) I have been so spoiled.

So, I ask the wonderful dev trust, are there any open source string implementations for C that you like to use? Or, is there something on OSX that is already there that I just don't know about since it has really been THAT LONG!

Thanks!
Rick

Peter Castine's icon

Do you mean over and above string.h ?

grimepoch's icon

Above and beyond the strlen, strcpy, strstr, etc. I looked through the only string.h that is found on my system and it seems to be actually wxString and is C++.

Truth of the matter is I could probably just create some helper functions to just reduce the amount of duplicate code I am writing, I've just gotten lazy :) Before I went down that path, I wanted to make sure others hadn't already written something as I am always quick to make my own implementation for something and I am trying to get better at leveraging what exists in the open source world.

And it's not that the C string handling is actually bad, just a little more tedious.