Skip to main content

cmsg_space

Function cmsg_space 

Source
pub const fn cmsg_space(data_len: usize) -> usize
Available on neither FreeBSD nor Fuchsia nor GNU/Hurd nor Play Station Vita nor Redox OS.
Expand description

Given a payload of data_len, returns the number of bytes a control message occupies. i.e. it includes the header, the data and the alignments.