Andreas,

> So, unless we want "every third" user of mbsrtowcs(3)
> to get it wrong, fatally, the documentation should be extended.
> A sample phrase would be
> "for mbstate_t parameter init, there's no initializer function
> defined by the standard - the user is required to have done a proper memset() 
> on it."

Could you write a short patch for mbsrtowcs(3)?

Adding an example of a "proper" memset() would also be nice.

And, which other pages need a similar change?

Thanks,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to