putw is supposed to return 0 (not the value written) on success
[musl] / src / stdio / putchar.c
1 #include <stdio.h>
2
3 int putchar(int c)
4 {
5         return fputc(c, stdout);
6 }