riot_sys

Function iolist_size

Source
pub unsafe extern "C" fn iolist_size(
    iolist: *const iolist_t,
) -> size_t
Expand description

@brief Sum up number of bytes in iolist

This function returns the summed ip length values of all entries in @p iolist.

@param[in] iolist iolist to sum up

@returns summed up number of bytes or zero if @p iolist == NULL