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 Namespace

MSG

Public Namespace
std.c.darwin.MSG
pub const MSG = struct

Values

  • pub const OOB

    process out-of-band data

  • pub const PEEK

    peek at incoming message

  • pub const DONTROUTE

    send without using routing tables

  • pub const EOR

    data completes record

  • pub const TRUNC

    data discarded before delivery

  • pub const CTRUNC

    control data lost before delivery

  • pub const WAITALL

    wait for full request or error

  • pub const DONTWAIT

    this message should be nonblocking

  • pub const EOF

    data completes connection

  • pub const WAITSTREAM

    wait up to full request, may return partial

  • pub const FLUSH

    Start of 'hold' seq; dump so_temp, deprecated

  • pub const HOLD

    Hold frag in so_temp, deprecated

  • pub const SEND

    Send the packet in so_temp, deprecated

  • pub const HAVEMORE

    Data ready to be read

  • pub const RCVMORE

    Data remains in current pkt

  • pub const NEEDSA

    Fail receive if socket address cannot be allocated

  • pub const NOSIGNAL

    do not generate SIGPIPE on EOF

  • pub const USEUPCALL

    Inherit upcall in sock_accept

File

c/darwin.zig:1601
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
pub const MSG = struct {
    /// process out-of-band data
    pub const OOB = 0x1;
    /// peek at incoming message
    pub const PEEK = 0x2;
    /// send without using routing tables
    pub const DONTROUTE = 0x4;
    /// data completes record
    pub const EOR = 0x8;
    /// data discarded before delivery
    pub const TRUNC = 0x10;
    /// control data lost before delivery
    pub const CTRUNC = 0x20;
    /// wait for full request or error
    pub const WAITALL = 0x40;
    /// this message should be nonblocking
    pub const DONTWAIT = 0x80;
    /// data completes connection
    pub const EOF = 0x100;
    /// wait up to full request, may return partial
    pub const WAITSTREAM = 0x200;
    /// Start of 'hold' seq; dump so_temp, deprecated
    pub const FLUSH = 0x400;
    /// Hold frag in so_temp, deprecated
    pub const HOLD = 0x800;
    /// Send the packet in so_temp, deprecated
    pub const SEND = 0x1000;
    /// Data ready to be read
    pub const HAVEMORE = 0x2000;
    /// Data remains in current pkt
    pub const RCVMORE = 0x4000;
    /// Fail receive if socket address cannot be allocated
    pub const NEEDSA = 0x10000;
    /// do not generate SIGPIPE on EOF
    pub const NOSIGNAL = 0x80000;
    /// Inherit upcall in sock_accept
    pub const USEUPCALL = 0x80000000;
}