[PATCH] Extended Char Intro: Use getwc in example (Bug 25626)

Florian Weimer fw@deneb.enyo.de
Thu Mar 5 06:32:00 GMT 2020


* 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.



More information about the Libc-alpha mailing list