1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00

netdev: document valid values for iolist in send()

This commit is contained in:
Martine Lenders 2019-03-15 11:33:53 +01:00
parent 71204d1d70
commit 51626a48d4

View File

@ -297,7 +297,11 @@ typedef struct netdev_driver {
* @pre `(dev != NULL) && (iolist != NULL`
*
* @param[in] dev Network device descriptor. Must not be NULL.
* @param[in] iolist io vector list to send
* @param[in] iolist IO vector list to send. Elements of this list may
* have iolist_t::iol_data == NULL or
* iolist_t::iol_size == 0. However, unless otherwise
* specified by the device, the *first* element
* must contain data.
*
* @return negative errno on error
* @return number of bytes sent