CStrLen

Returns the length in bytes of a NULL-terminated string.

Thread Context:Non-Blocking

Syntax

    LONG CStrLen (
       void  *string
    );
    
    

Parameters

string
Points to a NULL-terminated string.

Return Values

The number of bytes pointed to by string up to, but not including, the NULL character. If the string is length-preceded, the first byte is counted as though it was part of the entire string.