mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
Updated documentation for bufferevent_setcb() (#1733)
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
This commit is contained in:
parent
2a1ec766ed
commit
267e808eb7
@ -280,7 +280,7 @@ int bufferevent_socket_get_dns_error(struct bufferevent *bev);
|
|||||||
|
|
||||||
NOTE that only socket bufferevents support this function.
|
NOTE that only socket bufferevents support this function.
|
||||||
|
|
||||||
@param base an event_base returned by event_init()
|
@param base an event_base returned by event_base_new()
|
||||||
@param bufev a bufferevent struct returned by bufferevent_new()
|
@param bufev a bufferevent struct returned by bufferevent_new()
|
||||||
or bufferevent_socket_new()
|
or bufferevent_socket_new()
|
||||||
@return 0 if successful, or -1 if an error occurred
|
@return 0 if successful, or -1 if an error occurred
|
||||||
|
Loading…
x
Reference in New Issue
Block a user