История изменений
Исправление i-rinat, (текущая версия) :
Видимо, по сети прилетел.
$ man mbrtowc | grep -A1 -B1 null\ wide
It updates the shift state *ps. If the converted wide character is not
L'\0' (the null wide character), it returns the number of bytes that
were consumed from s. If the converted wide character is L'\0', it
Исходная версия i-rinat, :
Видимо, по сети прилетел.