Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
wcswidth(3) Guardian Native C Library Calls Reference Manual
RETURN VALUES
The wcswidth() function returns the number of display columns to be occupied by the number of
wide characters (up to the terminating null wide character specified by the n parameter (or fewer)
in the string pointed to by the pwcs parameter. A value of 0 (zero) is returned if the pwcs param-
eter is a wide-character NULL pointer or a pointer to a wide-character NULL pointer (that is,
pwcs or *pwcs is NULL). If the pwcs parameter points to an unusable wide character code, a
value of -1 is returned.
RELATED INFORMATION
Functions: wcwidth(3).
7−182 Hewlett-Packard Company 527192-018