std1.0.0-beta-7 SafeC docs

std :: sched::io_nb

Function std::sched_ipv4

#include <std/sched/io_nb.h> source · definition

unsigned int sched_ipv4(
    unsigned char a,
    unsigned char b,
    unsigned char c,
    unsigned char d,
)

Packs four host-order octets (e.g. 127,0,0,1) into a network-order address suitable for a backend's sockaddr_in sin_addr field — avoids callers needing to hand-compute the byte order themselves for the common "literal IP" case.