mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 14:29:39 +00:00
pbuf: fix "returns" documentation on pbuf_get_contiguous()
See bug #64049
This commit is contained in:
parent
ae5a5b99eb
commit
1ef6189287
@ -1099,7 +1099,7 @@ pbuf_copy_partial(const struct pbuf *buf, void *dataptr, u16_t len, u16_t offset
|
||||
* @param len length of data to copy (dataptr must be big enough). No more
|
||||
* than buf->tot_len will be copied, irrespective of len
|
||||
* @param offset offset into the packet buffer from where to begin copying len bytes
|
||||
* @return the number of bytes copied, or 0 on failure
|
||||
* @return pointer to 'buffer' on success or NULL on error
|
||||
*/
|
||||
void *
|
||||
pbuf_get_contiguous(const struct pbuf *p, void *buffer, size_t bufsize, u16_t len, u16_t offset)
|
||||
|
Loading…
Reference in New Issue
Block a user