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

TaskFdQueryAttr

Public Struct
std.os.linux.bpf.TaskFdQueryAttr
pub const TaskFdQueryAttr = extern struct

struct used by Cmd.task_fd_query

Fields

pid: pid_t

input: pid

fd: fd_t

input: fd

flags: u32

input: flags

buf_len: u32

input/output: buf len

buf: u64

input/output: tp_name for tracepoint symbol for kprobe filename for uprobe

prog_id: u32

output: prod_id

fd_type: u32

output: BPF_FD_TYPE

probe_offset: u64

output: probe_offset

probe_addr: u64

output: probe_addr

File

os/linux/bpf.zig:1515
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
pub const TaskFdQueryAttr = extern struct {
    /// input: pid
    pid: pid_t,

    /// input: fd
    fd: fd_t,

    /// input: flags
    flags: u32,

    /// input/output: buf len
    buf_len: u32,

    /// input/output:
    ///     tp_name for tracepoint
    ///     symbol for kprobe
    ///     filename for uprobe
    buf: u64,

    /// output: prod_id
    prog_id: u32,

    /// output: BPF_FD_TYPE
    fd_type: u32,

    /// output: probe_offset
    probe_offset: u64,

    /// output: probe_addr
    probe_addr: u64,
}