doc: note misleading error code in uv_os_get_passwd

This commit is contained in:
Dominik Süß 2023-03-16 10:57:14 +01:00
parent 4a65e10f5e
commit 890b24b2d7
No known key found for this signature in database
GPG Key ID: 9B1DDB4B45B86806

View File

@ -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)