stringz.borrow

const(char)[] borrow() const @system

Borrows a slice of the pointer up to (but not including) the zero terminator.