summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/wcswidth.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/string/wcswidth.3')
-rw-r--r--src/lib/libc/string/wcswidth.315
1 files changed, 12 insertions, 3 deletions
diff --git a/src/lib/libc/string/wcswidth.3 b/src/lib/libc/string/wcswidth.3
index a68ec33cad..a2a5b2df86 100644
--- a/src/lib/libc/string/wcswidth.3
+++ b/src/lib/libc/string/wcswidth.3
@@ -1,4 +1,5 @@
1.\" $OpenBSD: wcswidth.3,v 1.1 2011/04/04 18:16:24 stsp Exp $ 1.\" $OpenBSD: wcswidth.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $
2.\"
2.\" Copyright (c) 2002 Tim J. Robbins 3.\" Copyright (c) 2002 Tim J. Robbins
3.\" All rights reserved. 4.\" All rights reserved.
4.\" 5.\"
@@ -23,8 +24,7 @@
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE. 25.\" SUCH DAMAGE.
25.\" 26.\"
26.\" 27.Dd $Mdocdate: July 25 2011 $
27.Dd $Mdocdate: April 4 2011 $
28.Dt WCSWIDTH 3 28.Dt WCSWIDTH 3
29.Os 29.Os
30.Sh NAME 30.Sh NAME
@@ -52,9 +52,18 @@ is an empty string (L""),
52otherwise it returns the number of column positions occupied. 52otherwise it returns the number of column positions occupied.
53.Sh SEE ALSO 53.Sh SEE ALSO
54.Xr iswprint 3 , 54.Xr iswprint 3 ,
55.Xr strlen 3 ,
56.Xr wcslen 3 ,
55.Xr wcwidth 3 57.Xr wcwidth 3
56.Sh STANDARDS 58.Sh STANDARDS
57The 59The
58.Fn wcswidth 60.Fn wcswidth
59function conforms to 61function conforms to
60.St -p1003.1-2001 . 62.St -p1003.1-2001 .
63.Sh HISTORY
64The
65.Fn wcswidth
66function was ported from
67.Nx
68and first appeared in
69.Ox 3.8 .