diff options
Diffstat (limited to 'docs/src/errors.rst')
-rw-r--r-- | docs/src/errors.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/src/errors.rst b/docs/src/errors.rst index 5d59dc30..cec25f51 100644 --- a/docs/src/errors.rst +++ b/docs/src/errors.rst @@ -322,8 +322,10 @@ API .. c:function:: const char* uv_strerror(int err) - Returns the error message for the given error code. + Returns the error message for the given error code. Leaks a few bytes + of memory when you call it with an unknown error code. .. c:function:: const char* uv_err_name(int err) - Returns the error name for the given error code. + Returns the error name for the given error code. Leaks a few bytes + of memory when you call it with an unknown error code. |