Class: Rumai::IXP::Topen

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

Overview

size Topen tag fid mode

Constant Summary collapse

OREAD =

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

0
OWRITE =

open for read

1
ORDWR =

write

2
OEXEC =

read and write

3
OTRUNC =

execute, == read but check execute permission

16
OCEXEC =

or’ed in (except for exec), truncate file first

32
ORCLOSE =

or’ed in, close on exec

64
ODIRECT =

or’ed in, remove on close

128
ONONBLOCK =

or’ed in, direct access

256
OEXCL =

or’ed in, non-blocking call

0x1000
OLOCK =

or’ed in, exclusive use (create only)

0x2000
OAPPEND =

or’ed in, lock after opening

0x4000

Constants inherited from Fcall

Fcall::CLASS_TO_TYPE, Fcall::NOFID, Fcall::NOTAG, Fcall::TYPE_TO_CLASS

Instance Attribute Summary

Attributes included from Struct

#fields

Method Summary

Methods inherited from Fcall

__from_9p__, from_9p, #to_9p, type, #type

Methods included from Struct

included, #initialize, #load_9p, #to_9p