Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

vm_region_submap_short_info_64

Public Struct
std.c.darwin.vm_region_submap_short_info_64
pub const vm_region_submap_short_info_64 = extern struct

Fields

protection: vm_prot_t

present access protection

max_protection: vm_prot_t

max avail through vm_prot

inheritance: vm_inherit_t

behavior of map/obj on fork

offset: memory_object_offset_t

offset into object/map

user_tag: u32

user tag on map entry

ref_count: u32

obj/map mappers, etc

shadow_depth: u16

only for obj

external_pager: u8

only for obj

share_mode: u8

see enumeration

is_submap: boolean_t

submap vs obj

behavior: vm_behavior_t

access behavior hint

object_id: vm32_object_id_t

obj/map name, not a handle

user_wired_count: u16

File

c/darwin.zig:669
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
pub const vm_region_submap_short_info_64 = extern struct {
    // present access protection
    protection: vm_prot_t,
    // max avail through vm_prot
    max_protection: vm_prot_t,
    // behavior of map/obj on fork
    inheritance: vm_inherit_t,
    // offset into object/map
    offset: memory_object_offset_t,
    // user tag on map entry
    user_tag: u32,
    // obj/map mappers, etc
    ref_count: u32,
    // only for obj
    shadow_depth: u16,
    // only for obj
    external_pager: u8,
    // see enumeration
    share_mode: u8,
    //  submap vs obj
    is_submap: boolean_t,
    // access behavior hint
    behavior: vm_behavior_t,
    // obj/map name, not a handle
    object_id: vm32_object_id_t,
    user_wired_count: u16,
}