Penguin
Annotated edit history of wcswidth(3) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 WCSWIDTH
2 !!!WCSWIDTH
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 CONFORMING TO
8 SEE ALSO
9 NOTES
10 ----
11 !!NAME
12
13
14 wcswidth - determine columns needed for a fixed-size wide character string
15 !!SYNOPSIS
16
17
18 __#include
19 __''s''__, size_t__ ''n''__);
20 __
21 !!DESCRIPTION
22
23
24 The __wcswidth__ function returns the number of columns
25 needed to represent the wide-character string pointed to by
26 ''s'', but at most ''n'' wide characters. If a
27 non-printable wide character occurs among these characters,
28 -1 is returned.
29 !!RETURN VALUE
30
31
32 The __wcswidth__ function returns the number of column
33 positions for the wide-character string ''s'', truncated
34 to at most length ''n''.
35 !!CONFORMING TO
36
37
38 UNIX98
39 !!SEE ALSO
40
41
42 wcwidth(3), iswprint(3)
43 !!NOTES
44
45
46 The behaviour of __wcswidth__ depends on the LC_CTYPE
47 category of the current locale.
48 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.