Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

unix, windows: uv_get_free_memory() and uv_get_total_memory() can't return errors #832

Open
bnoordhuis opened this Issue · 0 comments

1 participant

@bnoordhuis

On some of the Unices, uv_get_free_memory() and uv_get_total_memory() can fail but there is no good way to signal that.

Proposal: change the return type from uint64_t to int64_t. 2^63 ought to be enough for anybody, right?

@alanbrown alanbrown referenced this issue from a commit in alanbrown/libuv
Alan Brown Interface change to uv_get_free_memory and uv_get_total_memory so tha…
…t they can return errors, addresses issue #832
344d676
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.