You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a public API, and it is also documented behavior. Changing it would introduce some unnecessary breaks for users. And in the future we may introduce an error path, so I think changing its return type to void is not a good choice.
Activity
aisk commentedon Nov 16, 2026
This is a public API, and it is also documented behavior. Changing it would introduce some unnecessary breaks for users. And in the future we may introduce an error path, so I think changing its return type to
voidis not a good choice.picnixz commentedon Nov 16, 2026
I think the error was that it returned 1 if addr was negative instead of 0
But I am no longer really sure about it. So either it is meant for reimplementors or docs should be updated.