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

build_version_command

Public Struct
std.macho.build_version_command
pub const build_version_command = extern struct

The build_version_command contains the min OS version on which this binary was built to run for its platform. The list of known platforms and tool values following it.

Fields

cmd: LC = .BUILD_VERSION

LC_BUILD_VERSION

cmdsize: u32

sizeof(struct build_version_command) plus ntools * sizeof(struct build_version_command)

platform: PLATFORM

platform

minos: u32

X.Y.Z is encoded in nibbles xxxx.yy.zz

sdk: u32

X.Y.Z is encoded in nibbles xxxx.yy.zz

ntools: u32

number of tool entries following this

File

macho.zig:110
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
pub const build_version_command = extern struct {
    /// LC_BUILD_VERSION
    cmd: LC = .BUILD_VERSION,

    /// sizeof(struct build_version_command) plus
    /// ntools * sizeof(struct build_version_command)
    cmdsize: u32,

    /// platform
    platform: PLATFORM,

    /// X.Y.Z is encoded in nibbles xxxx.yy.zz
    minos: u32,

    /// X.Y.Z is encoded in nibbles xxxx.yy.zz
    sdk: u32,

    /// number of tool entries following this
    ntools: u32,
}