summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/wcrtomb.3
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-04-08 09:59:02 +0000
committertjr <tjr@FreeBSD.org>2004-04-08 09:59:02 +0000
commit0ca2900d48dfa7dae63123b1d83e6cd98836161d (patch)
treec6fc48691135e1db58250e02c80d82de9f2582ad /lib/libc/locale/wcrtomb.3
parentd35a5d60b9bfab2480aec8538a44fa0672fffdc8 (diff)
downloadFreeBSD-src-0ca2900d48dfa7dae63123b1d83e6cd98836161d.zip
FreeBSD-src-0ca2900d48dfa7dae63123b1d83e6cd98836161d.tar.gz
Update manual pages for change to C99 mbrtowc() semantics.
Diffstat (limited to 'lib/libc/locale/wcrtomb.3')
-rw-r--r--lib/libc/locale/wcrtomb.314
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/locale/wcrtomb.3 b/lib/libc/locale/wcrtomb.3
index a2da1c2..c89614e 100644
--- a/lib/libc/locale/wcrtomb.3
+++ b/lib/libc/locale/wcrtomb.3
@@ -1,4 +1,4 @@
-.\" Copyright (c) 2002 Tim J. Robbins
+.\" Copyright (c) 2002-2004 Tim J. Robbins
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 15, 2002
+.Dd April 8, 2004
.Dt WCRTOMB 3
.Os
.Sh NAME
@@ -70,7 +70,8 @@ If it is
.Fn wcrtomb
uses an internal, static
.Vt mbstate_t
-object.
+object, which is initialized to the initial conversion state
+at program startup.
.Sh RETURN VALUES
The
.Fn wcrtomb
@@ -87,13 +88,14 @@ The
.Fn wcrtomb
function will fail if:
.Bl -tag -width Er
-.\".It Bq Er EINVAL
-.\"Invalid argument.
.It Bq Er EILSEQ
An invalid wide character code was specified.
+.It Bq Er EINVAL
+The conversion state is invalid.
.El
.Sh SEE ALSO
.Xr mbrtowc 3 ,
+.Xr multibyte 3 ,
.Xr setlocale 3 ,
.Xr wctomb 3
.Sh STANDARDS
@@ -101,5 +103,3 @@ The
.Fn wcrtomb
function conforms to
.St -isoC-99 .
-.Sh BUGS
-The current implementation does not support shift states.
OpenPOWER on IntegriCloud