10 Note that this interface is better than the usual C interface for filters. In C, you have to use getchar() or
getc(), which return both the next character or whether end-of-file was reached. This causes the problem that
you have to process the return value as int to distinguish any char value from the value for end-of-file.