cstr

private fnstring cstr(const(char) * p) @trusted pure nothrow

Reads one NUL-terminated C string into a D slice (null pointers become the empty slice).