]> git.saurik.com Git - apple/libc.git/blobdiff - locale/FreeBSD/wcrtomb.3
Libc-391.tar.gz
[apple/libc.git] / locale / FreeBSD / wcrtomb.3
index 458a88111e78171e3953efc5980efc576436b1aa..432eddf34f81a116a0b4b12c12291127487375fa 100644 (file)
@@ -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
@@ -22,9 +22,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/lib/libc/locale/wcrtomb.3,v 1.3 2002/11/29 17:35:09 ru Exp $
+.\" $FreeBSD: src/lib/libc/locale/wcrtomb.3,v 1.4 2004/04/08 09:59:02 tjr Exp $
 .\"
-.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.