Module vmm_sys_util::fam [−][src]
Expand description
Trait and wrapper for working with C defined FAM structures.
In C 99 an array of unknown size may appear within a struct definition as the last member (as long as there is at least one other named member). This is known as a flexible array member (FAM). Pre C99, the same behavior could be achieved using zero length arrays.
Flexible Array Members are the go-to choice for working with large amounts of data prefixed by header values.
For example the KVM API has many structures of this kind.
Structs
A wrapper for FamStruct
.
Enums
Errors associated with the FamStructWrapper
struct.
Traits
Trait for accessing properties of C defined FAM structures.