aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/wcsnrtombs.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3/wcsnrtombs.3')
-rw-r--r--man/man3/wcsnrtombs.314
1 files changed, 7 insertions, 7 deletions
diff --git a/man/man3/wcsnrtombs.3 b/man/man3/wcsnrtombs.3
index 09a532120d..47291ff0c5 100644
--- a/man/man3/wcsnrtombs.3
+++ b/man/man3/wcsnrtombs.3
@@ -18,9 +18,9 @@ Standard C library
.nf
.B #include <wchar.h>
.P
-.BI "size_t wcsnrtombs(char " dest "[restrict ." len "], \
+.BI "size_t wcsnrtombs(char " dest "[restrict ." size "], \
const wchar_t **restrict " src ,
-.BI " size_t " nwc ", size_t " len ", \
+.BI " size_t " nwc ", size_t " size ", \
mbstate_t *restrict " ps );
.fi
.P
@@ -62,7 +62,7 @@ the wide-character string
to a multibyte string starting at
.IR dest .
At most
-.I len
+.I size
bytes are written to
.IR dest .
The shift state
@@ -95,7 +95,7 @@ is set to
.I nwc
wide characters have been
converted without encountering a null wide character (L\[aq]\[rs]0\[aq]),
-or the length limit forces a stop.
+or the size limit forces a stop.
In this case,
.I *src
is left pointing
@@ -119,11 +119,11 @@ returned.
If
.I dest
is NULL,
-.I len
+.I size
is ignored,
and the conversion proceeds as above,
except that the converted bytes are not written out to memory, and that
-no destination length limit exists.
+no destination size limit exists.
.P
In both of the above cases,
if
@@ -134,7 +134,7 @@ state known only to the
function is used instead.
.P
The programmer must ensure that there is room for at least
-.I len
+.I size
bytes
at
.IR dest .