sds icon indicating copy to clipboard operation
sds copied to clipboard

Simple Dynamic Strings library for C

Results 108 sds issues
Sort by recently updated
recently updated
newest added

Hi Salvatore, I came across some unexpected behaviour while using the sdsMakeRoomFor() and sdsrange() functions. Please have a look below. PS: It might be my one misuse of the library,...

Google doesn't indicate any connection between sds and Arduino, Stm32, etc. And it seems that lightweight and comfortable sds is a welcomed proportion between string.h and C++ string and it...

I like the API of SDS but I see no (development) activity in this repository. Is it still maintained? The sds source in the redis seems to be newer?

Minor readme grammar fixes. Fixed readme code samples. Add the fire :)

Hi, I found a small problem: ``` sp = start = s; // the only way that make ep > sp is sdslen(s) == 0 // so when ep >...

This adds the standard `%c` specifier to write an int as a char.

It's convenient that `sdsnewlen` accepts `0` as a first argument, giving us a way to create an empty buffer of a given length. It would be nice to document this...

* add sdssds() function that finds the first occurrence of the sds substring needle in the sds string haystack. * add sdscasesds() function that work like sdssds() but ignore the...

Example: ```c sds str; str = sdsnew("Hi "); str = sdscat(str, str); printf("%s\n", str); // not "Hi Hi " ```