cpp/string/wide/iswcntrl

Checks if the given wide character is a control character, i.e. codes and  and any control characters specific to the current locale.

Return value
Non-zero value if the wide character is a control character, zero otherwise.