mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-14 06:49:35 -04:00
Slightly clarify evbuffer_peek documentation
This commit is contained in:
parent
c986f2321d
commit
7bbf6ca771
@ -626,8 +626,10 @@ struct evbuffer_ptr evbuffer_search_eol(struct evbuffer *buffer,
|
||||
the buffer does not have as much data as you asked to see).
|
||||
|
||||
@param buffer the evbuffer to peek into,
|
||||
@param len the number of bytes to try to peek. If negative, we
|
||||
will try to fill as much of vec_out as we can.
|
||||
@param len the number of bytes to try to peek. If len is negative, we
|
||||
will try to fill as much of vec_out as we can. If len is negative
|
||||
and vec_out is not provided, we return the number of evbuffer_iovecs
|
||||
that would be needed to get all the data in the buffer.
|
||||
@param start_at an evbuffer_ptr indicating the point at which we
|
||||
should start looking for data. NULL means, "At the start of the
|
||||
buffer."
|
||||
|
Loading…
x
Reference in New Issue
Block a user