putw is supposed to return 0 (not the value written) on success
[musl] / src / linux / err.c
2011-04-05 Rich Felkersupport the nonstandard err.h interfaces