summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/wcswidth.3
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2011-07-25 00:38:52 +0000
committerschwarze <schwarze@openbsd.org>2011-07-25 00:38:52 +0000
commit8c40de08f9d12a182e23e357bcca21c5be683dd9 (patch)
treedf554e154d9ded444e70f01eb8a84b1212071f78 /lib/libc/string/wcswidth.3
parentoccured -> occurred; (diff)
downloadwireguard-openbsd-8c40de08f9d12a182e23e357bcca21c5be683dd9.tar.xz
wireguard-openbsd-8c40de08f9d12a182e23e357bcca21c5be683dd9.zip
update HISTORY and SEE ALSO for all of string(3), together with various
smaller improvements; jmc@ and nicm@ both ask me to get this in because further tweaking will be easier in-tree
Diffstat (limited to 'lib/libc/string/wcswidth.3')
-rw-r--r--lib/libc/string/wcswidth.315
1 files changed, 12 insertions, 3 deletions
diff --git a/lib/libc/string/wcswidth.3 b/lib/libc/string/wcswidth.3
index a68ec33cade..a2a5b2df862 100644
--- a/lib/libc/string/wcswidth.3
+++ b/lib/libc/string/wcswidth.3
@@ -1,4 +1,5 @@
-.\" $OpenBSD: wcswidth.3,v 1.1 2011/04/04 18:16:24 stsp Exp $
+.\" $OpenBSD: wcswidth.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $
+.\"
.\" Copyright (c) 2002 Tim J. Robbins
.\" All rights reserved.
.\"
@@ -23,8 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\"
-.Dd $Mdocdate: April 4 2011 $
+.Dd $Mdocdate: July 25 2011 $
.Dt WCSWIDTH 3
.Os
.Sh NAME
@@ -52,9 +52,18 @@ is an empty string (L""),
otherwise it returns the number of column positions occupied.
.Sh SEE ALSO
.Xr iswprint 3 ,
+.Xr strlen 3 ,
+.Xr wcslen 3 ,
.Xr wcwidth 3
.Sh STANDARDS
The
.Fn wcswidth
function conforms to
.St -p1003.1-2001 .
+.Sh HISTORY
+The
+.Fn wcswidth
+function was ported from
+.Nx
+and first appeared in
+.Ox 3.8 .