about summary refs log tree commit diff stats
path: root/087file.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-03-16 17:06:01 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-03-16 17:06:01 -0700
commita7c3f156d735f30eb0de29f7dbc610eba946abeb (patch)
treeeb9346ab9b5cb03053dad200d038d2113b80b4b5 /087file.cc
parent752e47efe77efc908a51263601eb05e57ebf5130 (diff)
downloadmu-a7c3f156d735f30eb0de29f7dbc610eba946abeb.tar.gz
2788
Diffstat (limited to '087file.cc')
-rw-r--r--087file.cc27
1 files changed, 27 insertions, 0 deletions
diff --git a/087file.cc b/087file.cc
new file mode 100644
index 00000000..2448370e
--- /dev/null
+++ b/087file.cc
@@ -0,0 +1,27 @@
+//:: Interacting with the file-system
+
+:(before "End Primitive Recipe Declarations")
+OPEN_FILE_FOR_READING,
+:(before "End Primitive Recipe Numbers")
+put(Recipe_ordinal, "open-file-for-reading", OPEN_FILE_FOR_READING);
+:(before "End Primitive Recipe Checks")
+case OPEN_FILE_FOR_READING: {
+  break;
+}
+:(before "End Primitive Recipe Implementations")
+case OPEN_FILE_FOR_READING: {
+  break;
+}
+
+:(before "End Primitive Recipe Declarations")
+OPEN_FILE_FOR_WRITING,
+:(before "End Primitive Recipe Numbers")
+put(Recipe_ordinal, "open-file-for-reading", OPEN_FILE_FOR_WRITING);
+:(before "End Primitive Recipe Checks")
+case OPEN_FILE_FOR_WRITING: {
+  break;
+}
+:(before "End Primitive Recipe Implementations")
+case OPEN_FILE_FOR_WRITING: {
+  break;
+}