Document the failure mode if size is too small and mention that
authormillert <millert@openbsd.org>
Thu, 16 Dec 2021 19:15:29 +0000 (19:15 +0000)
committermillert <millert@openbsd.org>
Thu, 16 Dec 2021 19:15:29 +0000 (19:15 +0000)
commit25aea26a871b2c117682809b3c11f857f80fd8a5
tree411cbba25cbeb7df92e293612ea763aa0ff5c6c0
parent7b407ed550ed1d8f12d5067ceb03d87e25c42113
Document the failure mode if size is too small and mention that
allocating space when buf is NULL is an extension more prominently.
Clarify that getwd() is deprecated and should not be used.
Mention EFAULT errno value for invalid (non-NULL) buf.
OK deraadt@ jmc@
lib/libc/gen/getcwd.3