#include <Xm/Xm.h> int XmStringLength( XmString s1);
This function is obsolete and exists for compatibility with previous releases. It is replaced by XmStringByteStreamLength. XmStringLength obtains the length of a compound string. It returns the number of bytes in s1 including all tags, direction indicators, and separators. If the compound string has an invalid structure, 0 (zero) is returned.
Returns the length of the compound string.
XmStringByteStreamLength(3) and XmStringCreate(3).