> > What is the role of xmbsrtowcs? Why doesn't mbsrtowcs convert 0x5c to > U<0x5c>? > > > I see. I assume that it's a bug in mbsrtowcs. (If you check, xmbsrtowcs > isn't used anywhere, so the question is moot.)
Ok. But I suppose that the role of xdupmbsrtowcs is to avoid the same bug, am I right? So why isn't the bug corrected in mbsrtowcs?