summaryrefslogtreecommitdiff
path: root/doc/posix-functions/readlinkat.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/posix-functions/readlinkat.texi')
-rw-r--r--doc/posix-functions/readlinkat.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/posix-functions/readlinkat.texi b/doc/posix-functions/readlinkat.texi
index 2cd2e7be5b..96ae7ec67a 100644
--- a/doc/posix-functions/readlinkat.texi
+++ b/doc/posix-functions/readlinkat.texi
@@ -55,6 +55,11 @@ non-directory's name concatenated to @file{/},
it sets @code{errno} to @code{EINVAL}:
AIX 7.2.
@item
+When this function is called on an empty file name, it fails with error
+@code{EBADF} instead of @code{ENOENT}:
+@c https://cygwin.com/pipermail/cygwin/2023-April/253510.html
+Cygwin 3.4.6.
+@item
Symlink contents do not always have a trailing null byte, and there is
no indication if symlink contents were truncated if the return value
matches the length. Furthermore,