From 459a2ba1efa9b84bf12c2f5b8a23fd89912b47ea Mon Sep 17 00:00:00 2001 From: Paul Fox Date: Thu, 8 Nov 2007 01:11:41 +0000 Subject: new xmalloc_readlink_follow() routine to fully expand trailing symlinks to get to a "real" file (or directory). --- include/libbb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libbb.h') diff --git a/include/libbb.h b/include/libbb.h index f79d80d7f..0170085cb 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); -- cgit v1.2.3