libgit2

git_buf_contains_nul

Version:

Check quickly if buffer contains a NUL byte

Signature

int git_buf_contains_nul(const git_buf *buf);

Parameters

In
buf

Buffer to check

Returns

int

1 if buffer contains a NUL byte

Versions