putw is supposed to return 0 (not the value written) on success
[musl] / src / stdio / __stdout_write.c
2011-04-15 Rich Felkeravoid setting errno when checking for tty
2011-03-28 Rich Felkermajor stdio overhaul, using readv/writev, plus other...