Copyright (C) 2000-2012 |
Manpages WCWIDTHSection: Linux Programmer's Manual (3 )Updated: 1999-07-25 Index Return to Main Contents NAMEwcwidth - determine columns needed for a wide characterSYNOPSIS#include <wchar.h> int wcwidth (wint_t c); DESCRIPTIONThe wcwidth function returns the number of columns needed to represent the wide character c. If c is a printable wide character, the value is at least 0. If c is L'\0', the value is 0. Otherwise -1 is returned.RETURN VALUEThe wcwidth function returns the number of column positions for c.CONFORMING TOUNIX98SEE ALSOwcswidth(3), iswprint(3)NOTESThe behaviour of wcwidth depends on the LC_CTYPE category of the current locale.
IndexThis document was created by man2html, using the manual pages. Time: 01:51:28 GMT, January 21, 2025 |