Socket module

CMSG_DATA

procedure · 1 overloadSource

Returns the payload of control message cmsg: the first byte after its header, rounded up to the platform's alignment.

The payload is cmsg_len minus the header's size bytes long. See CMSG_FIRSTHDR for where cmsg comes from.

CMSG_DATA :: (cmsg: *cmsghdr) -> *u8

Returns the payload of control message cmsg: the first byte after its header, rounded up to the platform's alignment.

The payload is cmsg_len minus the header's size bytes long. See CMSG_FIRSTHDR for where cmsg comes from.

Parameters

cmsg: *cmsghdr

Returns

*u8

See also