summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/wcsrtombs.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/wcsrtombs.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/wcsrtombs.3')
-rw-r--r--lib/libc/locale/wcsrtombs.311
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libc/locale/wcsrtombs.3 b/lib/libc/locale/wcsrtombs.3
index 155f78e..91e61fd 100644
--- a/lib/libc/locale/wcsrtombs.3
+++ b/lib/libc/locale/wcsrtombs.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 16, 2002
+.Dd April 8, 2004
.Dt WCSRTOMBS 3
.Os
.Sh NAME
@@ -80,7 +80,8 @@ If it is
.Fn wcsrtombs
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 wcsrtombs
@@ -96,6 +97,8 @@ function will fail if:
.Bl -tag -width Er
.It Bq Er EILSEQ
An invalid wide character was encountered.
+.It Bq Er EINVAL
+The conversion state is invalid.
.El
.Sh SEE ALSO
.Xr mbsrtowcs 3 ,
@@ -106,5 +109,3 @@ The
.Fn wcsrtombs
function conforms to
.St -isoC-99 .
-.Sh BUGS
-The current implementation does not support shift states.
OpenPOWER on IntegriCloud