putw is supposed to return 0 (not the value written) on success
this is not a standard but it's the traditional behavior and it's more useful because the caller can reliably detect errors.
Showing
想要评论请 注册 或 登录
this is not a standard but it's the traditional behavior and it's more useful because the caller can reliably detect errors.