Create an empty (zero length) sds string. Even in this case the string * always has an implicit null term. */
| 176 | /* Create an empty (zero length) sds string. Even in this case the string |
| 177 | * always has an implicit null term. */ |
| 178 | sds sdsempty(void) { |
| 179 | return sdsnewlen("",0); |
| 180 | } |
| 181 | |
| 182 | /* Create a new sds string starting from a null terminated C string. */ |
| 183 | sds sdsnew(const char *init) { |
no test coverage detected