Scrap writerune(), introducing fputrune()

Interface and function as proposed by cls.
Code is also shorter, everything else analogous to fgetrune().
This commit is contained in:
FRIGN
2015-02-11 20:58:00 +01:00
parent a5ae899a48
commit 7c578bf5b0
9 changed files with 46 additions and 40 deletions

View File

@@ -72,7 +72,7 @@ expand(const char *file, FILE *fp)
col++;
if (r != ' ')
bol = 0;
writerune("<stdout>", stdout, &r);
efputrune(&r, stdout, "<stdout>");
break;
}
}