summaryrefslogtreecommitdiffstats
path: root/src/platform/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/unix.c')
-rw-r--r--src/platform/unix.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/platform/unix.c b/src/platform/unix.c
index 9bd8f57..01161fc 100644
--- a/src/platform/unix.c
+++ b/src/platform/unix.c
@@ -9,3 +9,8 @@ int cc4group_munmap(void *addr, size_t length)
{
return munmap(addr, length);
}
+
+char* cc4group_absolutePath(const char* path)
+{
+ return realpath(path, NULL);
+}