summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Fox2007-11-08 01:11:41 +0000
committerPaul Fox2007-11-08 01:11:41 +0000
commit459a2ba1efa9b84bf12c2f5b8a23fd89912b47ea (patch)
tree5c69b3f763a62d9dd394c1a36bfcfc0f96c07060 /include
parent49cce2b8384d2b425a91785ebf155a692df6986c (diff)
downloadbusybox-459a2ba1efa9b84bf12c2f5b8a23fd89912b47ea.zip
busybox-459a2ba1efa9b84bf12c2f5b8a23fd89912b47ea.tar.gz
new xmalloc_readlink_follow() routine to fully expand trailing symlinks
to get to a "real" file (or directory).
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index f79d80d..0170085 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -260,6 +260,7 @@ DIR *warn_opendir(const char *path);
/* UNUSED: char *xmalloc_realpath(const char *path); */
char *xmalloc_readlink(const char *path);
+char *xmalloc_readlink_follow(const char *path);
char *xmalloc_readlink_or_warn(const char *path);
char *xrealloc_getcwd_or_warn(char *cwd);