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

symtab_command

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

The symtab_command contains the offsets and sizes of the link-edit 4.3BSD "stab" style symbol table information as described in the header files <nlist.h> and <stab.h>.

Fields

cmd: LC = .SYMTAB

LC_SYMTAB

cmdsize: u32 = @sizeOf(symtab_command)

sizeof(struct symtab_command)

symoff: u32 = 0

symbol table offset

nsyms: u32 = 0

number of symbol table entries

stroff: u32 = 0

string table offset

strsize: u32 = 0

string table size in bytes

File

macho.zig:187
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
pub const symtab_command = extern struct {
    /// LC_SYMTAB
    cmd: LC = .SYMTAB,

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

    /// symbol table offset
    symoff: u32 = 0,

    /// number of symbol table entries
    nsyms: u32 = 0,

    /// string table offset
    stroff: u32 = 0,

    /// string table size in bytes
    strsize: u32 = 0,
}