putw is supposed to return 0 (not the value written) on success
[musl] / src / stdio / setlinebuf.c
2011-04-05 Rich Felkeradd more legacy functions: setlinebuf and setbuffer