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

SEND

Public Struct
std.c.darwin.MACH.SEND
pub const SEND = packed struct(integer_t)

Fields

MSG: bool = true

Other flags are only valid if this one is set.

_1: u3 = 0
TIMEOUT: bool = false
OVERRIDE: bool = false
INTERRUPT: bool = false
NOTIFY: bool = false
_8: u1 = 0
STRICT_REPLY: bool = false

Shared between RCV and SEND.

_10: u6 = 0
FILTER_NONFATAL: bool = false

User-only. If you're the kernel, this bit is MACH_SEND_ALWAYS.

TRAILER: bool = false
NOIMPORTANCE: bool = false

Synonymous to MACH_SEND_NODENAP.

IMPORTANCE: bool = false

Kernel-only.

SYNC_OVERRIDE: bool = false
PROPAGATE_QOS: bool = false

Synonymous to MACH_SEND_SYNC_USE_THRPRI.

KERNEL: bool = false

Kernel-only.

SYNC_BOOTSTRAP_CHECKIN: bool = false
_24: u8 = 0

File

c/darwin.zig:197
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
    pub const SEND = packed struct(integer_t) {
        /// Other flags are only valid if this one is set.
        MSG: bool = true,
        _1: u3 = 0,
        TIMEOUT: bool = false,
        OVERRIDE: bool = false,
        INTERRUPT: bool = false,
        NOTIFY: bool = false,
        _8: u1 = 0,
        /// Shared between `RCV` and `SEND`.
        STRICT_REPLY: bool = false,
        _10: u6 = 0,
        /// User-only. If you're the kernel, this bit is `MACH_SEND_ALWAYS`.
        FILTER_NONFATAL: bool = false,
        TRAILER: bool = false,
        /// Synonymous to `MACH_SEND_NODENAP`.
        NOIMPORTANCE: bool = false,
        /// Kernel-only.
        IMPORTANCE: bool = false,
        SYNC_OVERRIDE: bool = false,
        /// Synonymous to `MACH_SEND_SYNC_USE_THRPRI`.
        PROPAGATE_QOS: bool = false,
        /// Kernel-only.
        KERNEL: bool = false,
        SYNC_BOOTSTRAP_CHECKIN: bool = false,
        _24: u8 = 0,
    }