mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
improve the description of parameter to evbuffer_read()
This commit is contained in:
parent
6769f692d7
commit
5aae74d7a6
@ -748,7 +748,8 @@ int evbuffer_write_atmost(struct evbuffer *buffer, evutil_socket_t fd,
|
||||
|
||||
@param buffer the evbuffer to store the result
|
||||
@param fd the file descriptor to read from
|
||||
@param howmuch the number of bytes to be read
|
||||
@param howmuch the number of bytes to be read. If the given number is negative
|
||||
or out of maximum bytes per one read, as many bytes as we can will be read.
|
||||
@return the number of bytes read, or -1 if an error occurred
|
||||
@see evbuffer_write()
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user