doc: document 0 return value for free/total memory (#3817)
Refs: https://github.com/libuv/libuv/discussions/3809
This commit is contained in:
parent
07949ce2ae
commit
8975c05d19
@ -551,11 +551,13 @@ API
|
||||
|
||||
.. c:function:: uint64_t uv_get_free_memory(void)
|
||||
|
||||
Gets the amount of free memory available in the system, as reported by the kernel (in bytes).
|
||||
Gets the amount of free memory available in the system, as reported by
|
||||
the kernel (in bytes). Returns 0 when unknown.
|
||||
|
||||
.. c:function:: uint64_t uv_get_total_memory(void)
|
||||
|
||||
Gets the total amount of physical memory in the system (in bytes).
|
||||
Returns 0 when unknown.
|
||||
|
||||
.. c:function:: uint64_t uv_get_constrained_memory(void)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user