summaryrefslogtreecommitdiff
path: root/lib/careadlinkat.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-09 11:44:05 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-09 11:44:05 -0700
commite5b28a7aef4446e07fa6a74df1254caec5add54e (patch)
treedf72bb12451e55f26a78bcf6271927c8ac9180d1 /lib/careadlinkat.c
parent762f8d96719ba3e8a0e79d8bb99fe8e119fafb3a (diff)
downloademacs-e5b28a7aef4446e07fa6a74df1254caec5add54e.tar.gz
Merge from gnulib.
Diffstat (limited to 'lib/careadlinkat.c')
-rw-r--r--lib/careadlinkat.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/careadlinkat.c b/lib/careadlinkat.c
index 7a7806d121c..01883db9ce5 100644
--- a/lib/careadlinkat.c
+++ b/lib/careadlinkat.c
@@ -65,7 +65,10 @@ careadlinkatcwd (int fd, char const *filename, char *buffer,
the returned value if it is nonnull and is not BUFFER. A null
ALLOC stands for the standard allocator.
- The PREADLINKAT function specifies how to read links.
+ The PREADLINKAT function specifies how to read links. It operates
+ like POSIX readlinkat()
+ <http://pubs.opengroup.org/onlinepubs/9699919799/functions/readlink.html>
+ but can assume that its first argument is the same as FD.
If successful, return the buffer address; otherwise return NULL and
set errno. */