On Wed, 20 Jun 2001, Edmund GRIMLEY EVANS wrote:
> > 2) What should it do and return if a mbstate_t is supplied that contains
> > invalid state values (as it may happen with, e.g., an uninitialized local
> > variable)?
>
> It may detect the problem and return EINVAL.

I guess, calling abort() can be even more desireable here, because the
resulting core dump will allow developpers to locate the problem most
quickly.

Markus


-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to