summaryrefslogtreecommitdiffstats
path: root/src/filesystem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/filesystem.c')
-rw-r--r--src/filesystem.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/filesystem.c b/src/filesystem.c
index 39ba2a2..4ba0bd9 100644
--- a/src/filesystem.c
+++ b/src/filesystem.c
@@ -115,6 +115,12 @@ lilv_path_is_child(const char* path, const char* dir)
}
char*
+lilv_path_current(void)
+{
+ return getcwd(NULL, 0);
+}
+
+char*
lilv_path_absolute(const char* path)
{
if (lilv_path_is_absolute(path)) {