summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-05-28 23:31:11 -0400
committerRich Felker <dalias@aerifal.cx>2011-05-28 23:31:11 -0400
commitdd45edb5ff6198493edf1315d3e4e6ffc7b96447 (patch)
tree39a55071eb0b617940c9319b4f1dea79fc90354b /src
parenta0ae0b09368e6dbfa82860187dcd6fdf86d86fee (diff)
downloadmusl-dd45edb5ff6198493edf1315d3e4e6ffc7b96447.tar.gz
add accidentally-omitted file needed for posix_spawn file actions
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[];
+};