EILSEQ macro — Code for error in a multibyte character sequence
int EILSEQ
Standard library functions that report errors in multibyte
character sequences set errno
to
EILSEQ
. For example, passing an
invalid wide character to the wcrtomb
function results in EILSEQ
.
The EILSEQ
macro expands to
a nonzero integer constant. The value of EILSEQ
is implementation-defined.
Note that EILSEQ
is not
mentioned in the C++ standard, but because C++ includes the C
standard library (Amendment 1), and EILSEQ
is part of the C standard, it is
part of the C++ standard.