Advertising

See my earlier reply.
> may be left in mbstowcs(3) and wcstombs(3), but the phrase
> ``In this case, the conversion ends in the initial state.''
> should be removed from wcstombs(3) (because there is no such sentence
> in corresponding section of mbstowcs(3) and because this sentence
> makes no sense):
>
> http://code.metager.de/source/xref/gnu/glibc/stdlib/mbstowcs.c
>
> http://code.metager.de/source/xref/gnu/glibc/stdlib/wcstombs.c
I'm not sure that the sentence makes no sense. I did change "initial state"
to "initial shift state". Still not sure if that's correct though.
> BTW, in mbstowcs(3) the phrase
>
> including the terminating null wide character ('\0')
>
> should be changed to
>
> including the terminating null byte ('\0')
I fixed this. Thanks.
Cheers,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/