doc: note misleading error code in uv_os_get_passwd
This commit is contained in:
parent
4a65e10f5e
commit
890b24b2d7
@ -541,6 +541,10 @@ API
|
||||
memory allocated to `pwd` needs to be freed with
|
||||
:c:func:`uv_os_free_passwd`.
|
||||
|
||||
.. note::
|
||||
If the effective uid does not have an entry in the password file this
|
||||
function will return ENOENT even if the file exists.
|
||||
|
||||
.. versionadded:: 1.9.0
|
||||
|
||||
.. c:function:: void uv_os_free_passwd(uv_passwd_t* pwd)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user