Skip to content

Commit

Permalink
improve the description of parameter to evbuffer_read()
Browse files Browse the repository at this point in the history
  • Loading branch information
yuangongji committed Sep 22, 2019
1 parent 6769f69 commit 5aae74d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/event2/buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()
*/
Expand Down

0 comments on commit 5aae74d

Please sign in to comment.