aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manual/charset.texi2
1 files changed, 1 insertions, 1 deletions
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