Module p9

Module p9 

Source

Modules§

messages
ninep_2000_l

Structs§

Dirent
Dirent – directory entry
Qid
Qid
Rattach
Rauth
Rerror
Rframe
Rgetattr
Rgetlock
Rlcreate
Rlerror
Rlock
Rlopen
Rmkdir
Rmknod
Rread
Rreaddir
Rreadlink
Rstatfs
Rsymlink
Rversion
Rwalk
Rwrite
Rxattrwalk
Tattach
attach – attach to a file tree
Tauth
auth – authenticate a user
Tclunk
clunk – remove fid
Tflush
flush – abort a message
Tframe
Tfsync
fsync – synchronize file
Tgetattr
getattr – get file attributes
Tgetlock
getlock – test for the existence of a POSIX record lock
Tlcreate
lcreate – create a file
Tlink
link – create hard link
Tlock
lock – acquire or release a POSIX record lock
Tlopen
lopen – open a file
Tmkdir
mkdir – create directory
Tmknod
mknod – create a special file
Tread
read – read data from a file
Treaddir
readdir – read directory entries
Treadlink
readlink – read symlink value
Tremove
remove – remove a file
Trename
rename – rename a file
Trenameat
renameat – rename a file or directory
Tsetattr
setattr – set file attributes
Tstatfs
statfs – get file system information
Tsymlink
symlink – create symlink
Tunlinkat
unlinkat – unlink a file or directory
Tversion
version – negotiate protocol version
Twalk
walk – descend a directory hierarchy
Twrite
write – write data to a file
Txattrcreate
xattrcreate – create an extended attribute
Txattrwalk
xattrwalk – walk extended attributes

Enums§

Rmessage
A message sent from a 9P server to a 9P client in response to a request from that client. Encapsulates a full frame.
Tmessage
A message sent from a 9P client to a 9P server.
Version

Constants§

DEFAULT_MSIZE
MAPPED_FLAGS
MAX_MESSAGE_SIZE
MIN_MESSAGE_SIZE
P9_APPEND
P9_CREATE
P9_DIRECT
P9_DIRECTORY
P9_DSYNC
P9_EXCL
P9_FASYNC
P9_GETATTR_BASIC
P9_LARGEFILE
P9_LOCK_SUCCESS
P9_LOCK_TYPE_UNLCK
P9_NOACCESS
P9_NOATIME
P9_NOCTTY
P9_NOFOLLOW
P9_NONBLOCK
P9_QTDIR
P9_QTFILE
P9_QTSYMLINK
P9_RDONLY
P9_RDWR
P9_SETATTR_ATIME
P9_SETATTR_ATIME_SET
P9_SETATTR_CTIME
P9_SETATTR_GID
P9_SETATTR_MODE
P9_SETATTR_MTIME
P9_SETATTR_MTIME_SET
P9_SETATTR_SIZE
P9_SETATTR_UID
P9_SYNC
P9_TRUNC
P9_WRONLY
_P9_CLOEXEC
_P9_GETATTR_ALL
_P9_GETATTR_ATIME
_P9_GETATTR_BLOCKS
_P9_GETATTR_BTIME
_P9_GETATTR_CTIME
_P9_GETATTR_DATA_VERSION
_P9_GETATTR_GEN
_P9_GETATTR_GID
_P9_GETATTR_INO
_P9_GETATTR_MODE
_P9_GETATTR_MTIME
_P9_GETATTR_NLINK
_P9_GETATTR_RDEV
_P9_GETATTR_SIZE
_P9_GETATTR_UID
_P9_LOCK_BLOCKED
_P9_LOCK_ERROR
_P9_LOCK_FLAGS_BLOCK
_P9_LOCK_FLAGS_RECLAIM
_P9_LOCK_GRACE
_P9_LOCK_TYPE_RDLCK
_P9_LOCK_TYPE_WRLCK
_P9_QTAPPEND
_P9_QTAUTH
_P9_QTEXCL
_P9_QTLINK
_P9_QTMOUNT
_P9_QTTMP

Functions§

error_to_rmessage