Class: Rumai::IXP::Topen

Inherits:
Fcall show all
Defined in:
lib/rumai/ixp/message.rb

Overview

size[4] Topen tag[2] fid[4] mode[1]

Constant Summary

OREAD =

The following constant definitions originate from: swtch.com/usr/local/plan9/include/libc.h

0
OWRITE =
1
ORDWR =
2
OEXEC =
3
OTRUNC =
16
OCEXEC =
32
ORCLOSE =
64
ODIRECT =
128
ONONBLOCK =
256
OEXCL =
0x1000
OLOCK =
0x2000
OAPPEND =

open for read write read and write execute, == read but check execute permission or’ed in (except for exec), truncate file first or’ed in, close on exec or’ed in, remove on close or’ed in, direct access or’ed in, non-blocking call or’ed in, exclusive use (create only) or’ed in, lock after opening or’ed in, append only

0x4000

Constants inherited from Fcall

CLASS_TO_TYPE, NOFID, NOTAG, TYPE_TO_CLASS

Method Summary

Methods inherited from Fcall

from_9p, #to_9p, type, #type

Methods included from Struct

included, #initialize, #load_9p, #to_9p

Constructor Details

This class inherits a constructor from Rumai::IXP::Struct