summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/vms/getwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cvs/vms/getwd.c')
-rw-r--r--gnu/usr.bin/cvs/vms/getwd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/usr.bin/cvs/vms/getwd.c b/gnu/usr.bin/cvs/vms/getwd.c
new file mode 100644
index 00000000000..db1e9c56913
--- /dev/null
+++ b/gnu/usr.bin/cvs/vms/getwd.c
@@ -0,0 +1,6 @@
+#include <unixlib.h>
+
+char *getwd(char *pathname)
+{
+ return getcwd(pathname, 256, 0);
+}