[][src]Function qt_core::qstrlen

pub unsafe fn qstrlen(str: impl CastInto<Ptr<c_char>>) -> c_uint

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().