[PATCH] Extended Char Intro: Use getwc in example (Bug 25626)
Carlos O'Donell
carlos@redhat.com
Sat Mar 21 02:47:45 GMT 2020
On 3/5/20 1:30 AM, Florian Weimer wrote:
> * Carlos O'Donell:
>
>> diff --git a/manual/charset.texi b/manual/charset.texi
>> index f6a980f6cb..9fd0166115 100644
>> --- a/manual/charset.texi
>> +++ b/manual/charset.texi
>> @@ -186,7 +186,7 @@ are used:
>> @{
>> wint_t c;
>> @dots{}
>> - while ((c = wgetc (fp)) != WEOF)
>> + while ((c = getwc (fp)) != WEOF)
>> @dots{}
>> @}
>> @end smallexample
>
> Okay.
>
Pushed.
--
Cheers,
Carlos.
More information about the Libc-alpha
mailing list