vfs::VmoFile

Summary

Inheritance

Inherits from: vfs::Node

Constructors and Destructors

VmoFile(zx::vmo vmo, size_t length, WriteMode write_option, DefaultSharingMode vmo_sharing)

Public types

DefaultSharingMode{
  kNone = VFS_INTERNAL_SHARING_MODE_NONE,
  kDuplicate = VFS_INTERNAL_SHARING_MODE_DUPLICATE,
  kCloneCow = VFS_INTERNAL_SHARING_MODE_COW,
  ZX_REMOVED_SINCE =(1, 19, 20, "Use kNone instead.") = kNone,
  ZX_REMOVED_SINCE =(1, 19, 20, "Use kDuplicate instead.") = kDuplicate,
  ZX_REMOVED_SINCE =(1, 19, 20, "Use kCloneCow instead.") = kCloneCow
}
enum
WriteMode{
  kReadOnly = VFS_INTERNAL_WRITE_MODE_READ_ONLY,
  kWritable = VFS_INTERNAL_WRITE_MODE_WRITABLE,
  ZX_REMOVED_SINCE =(1, 19, 20, "Use kReadOnly instead.") = kReadOnly,
  ZX_REMOVED_SINCE =(1, 19, 20, "Use kWritable instead.") = kWritable
}
enum
instead using
WriteMode
instead using
DefaultSharingMode

Public functions

vmo() const

Public types

instead

WriteMode instead

instead

DefaultSharingMode instead

Public functions

VmoFile

 VmoFile(
  zx::vmo vmo,
  size_t length,
  WriteMode write_option,
  DefaultSharingMode vmo_sharing
)

vmo

zx::unowned_vmo vmo() const