On 10/06/2016 10:13 AM, Igor Liferenko wrote:
> Dear Maintainer,
> 
> According to definitions of mbstowcs and wcstombs (see below), the phrase
>     ``The conversion starts in the initial state.''

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/

Reply via email to