summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/vms/vms.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cvs/vms/vms.h')
-rw-r--r--gnu/usr.bin/cvs/vms/vms.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/usr.bin/cvs/vms/vms.h b/gnu/usr.bin/cvs/vms/vms.h
new file mode 100644
index 00000000000..7483c4748a6
--- /dev/null
+++ b/gnu/usr.bin/cvs/vms/vms.h
@@ -0,0 +1,31 @@
+/* Determined from CC RTL function prototypes in online documentation */
+
+#define mode_t unsigned int
+
+#define fork(x) vfork(x)
+
+#include <sys/types.h>
+#include <unixio.h>
+#include <unixlib.h>
+#include <stdlib.h>
+#include <processes.h>
+#include <socket.h>
+
+#define STDIN_FILENO 0
+#define STDOUT_FILENO 1
+#define STDERR_FILENO 2
+
+extern int fnmatch(char *pattern, char *string, int options);
+
+#include "ndir.h"
+#include "pwd.h"
+#include "pipe.h"
+
+int unlink(char *path);
+int link(char *from, char *to);
+
+int rmdir(char *path);
+
+#define stat(a, b) wrapped_stat(a, b)
+
+#undef POSIX