about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/process/fdop.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/process/fdop.h b/src/process/fdop.h
new file mode 100644
index 00000000..72f9b5fe
--- /dev/null
+++ b/src/process/fdop.h
@@ -0,0 +1,10 @@
+#define FDOP_CLOSE 1
+#define FDOP_DUP2 2
+#define FDOP_OPEN 3
+
+struct fdop {
+	struct fdop *next;
+	int cmd, fd, newfd, oflag;
+	mode_t mode;
+	char path[];
+};