diff wc_sigos/File.cbc @ 5:7599728af8ba default tip

add wc
author ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
date Sat, 19 Jun 2021 07:24:43 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/wc_sigos/File.cbc	Sat Jun 19 07:24:43 2021 +0900
@@ -0,0 +1,7 @@
+typedef struct File <> {
+  Path *path;
+  int mode; /* rw .. */
+  Data *fileImpl ;
+  __code open(FileImpl* file,Key *key, __code next(Block *block,...));
+  __code ack(FileImpl* file,Ack *ack, __code next(Block *block,...));
+} File;