Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

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

Open
bnoordhuis opened this Issue Jun 9, 2013 · 0 comments

Comments

Projects
None yet
1 participant
Contributor

bnoordhuis commented Jun 9, 2013

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 pushed a commit to alanbrown/libuv that referenced this issue Sep 8, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment