summaryrefslogtreecommitdiffstats
path: root/contrib/syslinux-4.02/com32/lib/getcwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/syslinux-4.02/com32/lib/getcwd.c')
-rw-r--r--contrib/syslinux-4.02/com32/lib/getcwd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/syslinux-4.02/com32/lib/getcwd.c b/contrib/syslinux-4.02/com32/lib/getcwd.c
new file mode 100644
index 0000000..5ce62ec
--- /dev/null
+++ b/contrib/syslinux-4.02/com32/lib/getcwd.c
@@ -0,0 +1,11 @@
+/*
+ * getcwd.c
+ */
+
+#include <com32.h>
+#include <syslinux/pmapi.h>
+
+char *getcwd(char *buf, size_t size)
+{
+ return __com32.cs_pm->getcwd(buf, size);
+}