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

linkedit_data_command

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

The linkedit_data_command contains the offsets and sizes of a blob of data in the __LINKEDIT segment.

Fields

cmd: LC

LC_CODE_SIGNATURE, LC_SEGMENT_SPLIT_INFO, LC_FUNCTION_STARTS, LC_DATA_IN_CODE, LC_DYLIB_CODE_SIGN_DRS or LC_LINKER_OPTIMIZATION_HINT.

cmdsize: u32 = @sizeOf(linkedit_data_command)

sizeof(struct linkedit_data_command)

dataoff: u32 = 0

file offset of data in __LINKEDIT segment

datasize: u32 = 0

file size of data in __LINKEDIT segment

File

macho.zig:384
384
385
386
387
388
389
390
391
392
393
394
395
396
pub const linkedit_data_command = extern struct {
    /// LC_CODE_SIGNATURE, LC_SEGMENT_SPLIT_INFO, LC_FUNCTION_STARTS, LC_DATA_IN_CODE, LC_DYLIB_CODE_SIGN_DRS or LC_LINKER_OPTIMIZATION_HINT.
    cmd: LC,

    /// sizeof(struct linkedit_data_command)
    cmdsize: u32 = @sizeOf(linkedit_data_command),

    /// file offset of data in __LINKEDIT segment
    dataoff: u32 = 0,

    /// file size of data in __LINKEDIT segment
    datasize: u32 = 0,
}