summaryrefslogtreecommitdiff
path: root/src/vmsproc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vmsproc.h')
-rw-r--r--src/vmsproc.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/vmsproc.h b/src/vmsproc.h
new file mode 100644
index 00000000000..f6faddf6a3e
--- /dev/null
+++ b/src/vmsproc.h
@@ -0,0 +1,21 @@
+/*
+ Structure for storing VMS specific information for an EMACS process
+
+ We use the event flags 1-23 for processes, keyboard input and timer
+*/
+
+/*
+ Same as MAXDESC in process.c
+*/
+#define MAX_EVENT_FLAGS 23
+
+typedef struct {
+ char inputBuffer[1024];
+ short inputChan;
+ short outputChan;
+ short busy;
+ int pid;
+ int eventFlag;
+ int exitStatus;
+ short iosb[4];
+} VMS_PROC_STUFF;