diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-28 10:03:44 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-28 11:40:22 -0600 |
commit | a492c4a31f1c8b2a0d58e24ab957ef3c8f9edfd2 (patch) | |
tree | 3af2acfb87cec927da720d1541bac89730cd45b5 /lib9p/idl/1992-9P0.9p.wip | |
parent | d67db573786da4780653e72879033b9e24e83e28 (diff) |
lib9p: idl: Touch up the *.9p files
Diffstat (limited to 'lib9p/idl/1992-9P0.9p.wip')
-rw-r--r-- | lib9p/idl/1992-9P0.9p.wip | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib9p/idl/1992-9P0.9p.wip b/lib9p/idl/1992-9P0.9p.wip index 086e8e4..968e887 100644 --- a/lib9p/idl/1992-9P0.9p.wip +++ b/lib9p/idl/1992-9P0.9p.wip @@ -37,12 +37,12 @@ struct errstr = "64*(txt[1])" # "O"pen flags (flags to pass to Topen and Tcreate) # Unused bits are *ignored*. bitfield o = 1 - "0=mode_0" # low bit of the 2-bit READ/WRITE/RDWR/EXEC enum - "1=mode_1" # high bit of the 2-bit READ/WRITE/RDWR/EXEC enum + "0=subfield(mode)" # low bit of the 2-bit READ/WRITE/RDWR/EXEC enum + "1=subfield(mode)" # high bit of the 2-bit READ/WRITE/RDWR/EXEC enum #"2=unused" #"3=unused" "4=TRUNC" - #"5=_reserved_CEXEC" # close-on-exec + "5=reserved(CEXEC)" # close-on-exec "6=RCLOSE" # remove-on-close #"7=unused" @@ -54,7 +54,8 @@ bitfield o = 1 "MODE_MASK = 0b00000011" "FLAG_MASK = 0b11111100" -# "C"??? "H"??? - file permissions and attributes +# "CH"annel flags - file permissions and attributes (a "channel" is +# what a file handle is called inside of the Plan 9 kernel). bitfield ch = 4 "31=DIR" "30=APPEND" |