This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Extended Char Intro: Use getwc in example (Bug 25626)
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Carlos O'Donell <carlos at redhat dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Thu, 05 Mar 2020 07:30:22 +0100
- Subject: Re: [PATCH] Extended Char Intro: Use getwc in example (Bug 25626)
- References: <502f1736-4604-1d7b-e4a7-234ad38820e9@redhat.com>
* 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.