Function qt_core::qstrlen

source ·
pub unsafe fn qstrlen(str: *const c_char) -> c_uint
Expand description

A safe strlen() function.

Calls C++ function: unsigned int qstrlen(const char* str).

C++ documentation:

A safe strlen() function.

Returns the number of characters that precede the terminating '\0', or 0 if str is 0.

See also qstrnlen().