aboutsummaryrefslogtreecommitdiffstats
path: root/ports/linux/guts/get_current_dir_name.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/linux/guts/get_current_dir_name.c')
-rw-r--r--ports/linux/guts/get_current_dir_name.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/ports/linux/guts/get_current_dir_name.c b/ports/linux/guts/get_current_dir_name.c
new file mode 100644
index 0000000..e07a6ee
--- /dev/null
+++ b/ports/linux/guts/get_current_dir_name.c
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) 2008-2010 Wind River Systems; see
+ * guts/COPYRIGHT for information.
+ *
+ * static char *
+ * wrap_get_current_dir_name(void) {
+ * char * rc = NULL;
+ */
+
+ pseudo_debug(3, "get_current_dir_name (getcwd)\n");
+ /* this relies on a Linux extension, but we dutifully
+ * emulated that extension.
+ */
+ rc = wrap_getcwd(NULL, 0);
+
+/* return rc;
+ * }
+ */