summaryrefslogtreecommitdiff
path: root/appl/lib/styxconv/osys.m
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2006-12-22 17:07:39 +0000
committerCharles.Forsyth <devnull@localhost>2006-12-22 17:07:39 +0000
commit37da2899f40661e3e9631e497da8dc59b971cbd0 (patch)
treecbc6d4680e347d906f5fa7fca73214418741df72 /appl/lib/styxconv/osys.m
parent54bc8ff236ac10b3eaa928fd6bcfc0cdb2ba46ae (diff)
20060303a
Diffstat (limited to 'appl/lib/styxconv/osys.m')
-rw-r--r--appl/lib/styxconv/osys.m34
1 files changed, 34 insertions, 0 deletions
diff --git a/appl/lib/styxconv/osys.m b/appl/lib/styxconv/osys.m
new file mode 100644
index 00000000..7d04421c
--- /dev/null
+++ b/appl/lib/styxconv/osys.m
@@ -0,0 +1,34 @@
+OSys: module
+{
+ # Unique file identifier for file objects
+ Qid: adt
+ {
+ path: int;
+ vers: int;
+ };
+
+ # Return from stat and directory read
+ Dir: adt
+ {
+ name: string;
+ uid: string;
+ gid: string;
+ qid: Qid;
+ mode: int;
+ atime: int;
+ mtime: int;
+ length: int;
+ dtype: int;
+ dev: int;
+ };
+
+ # Maximum read which will be completed atomically;
+ # also the optimum block size
+ #
+ ATOMICIO: con 8192;
+
+ NAMELEN: con 28;
+ ERRLEN: con 64;
+
+ CHDIR: con int 16r80000000;
+};