diff options
Diffstat (limited to 'src/multibyte/wctob.c')
-rw-r--r-- | src/multibyte/wctob.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/multibyte/wctob.c b/src/multibyte/wctob.c new file mode 100644 index 00000000..d6353ee1 --- /dev/null +++ b/src/multibyte/wctob.c @@ -0,0 +1,8 @@ +#include <stdio.h> +#include <wchar.h> + +int wctob(wint_t c) +{ + if (c < 128U) return c; + return EOF; +} |