Create an empty (zero length) sds string. Even in this case the string * always has an implicit null term. */
| 147 | /* Create an empty (zero length) sds string. Even in this case the string |
| 148 | * always has an implicit null term. */ |
| 149 | sds sdsempty(void) { |
| 150 | return sdsnewlen("",0); |
| 151 | } |
| 152 | |
| 153 | /* Create a new sds string starting from a null terminated C string. */ |
| 154 | sds sdsnew(const char *init) { |
no test coverage detected