summaryrefslogtreecommitdiffstats
path: root/contrib/syslinux-4.02/com32/lib/chdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/syslinux-4.02/com32/lib/chdir.c')
-rw-r--r--contrib/syslinux-4.02/com32/lib/chdir.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/syslinux-4.02/com32/lib/chdir.c b/contrib/syslinux-4.02/com32/lib/chdir.c
new file mode 100644
index 0000000..00670e3
--- /dev/null
+++ b/contrib/syslinux-4.02/com32/lib/chdir.c
@@ -0,0 +1,15 @@
+/*
+ * chdir.c
+ */
+
+#include <dirent.h>
+#include <stdio.h>
+#include <errno.h>
+
+#include <com32.h>
+#include <syslinux/pmapi.h>
+
+int chdir(const char *path)
+{
+ return __com32.cs_pm->chdir(path);
+}