mirror of
https://github.com/cuberite/libevent.git
synced 2025-08-03 09:16:30 -04:00
fix evutil_make_internal_pipe_'s comment that fd[0] for read and f[1] for write
(cherry picked from commit 2e52bace9f9998826bd3819af328efc8d18decf9)
This commit is contained in:
parent
5398cbcded
commit
7f0a7564c3
@ -219,7 +219,7 @@ struct event_base {
|
||||
/** Function pointers used to describe the backend that this event_base
|
||||
* uses for signals */
|
||||
const struct eventop *evsigsel;
|
||||
/** Data to implement the common signal handelr code. */
|
||||
/** Data to implement the common signal handler code. */
|
||||
struct evsig_info sig;
|
||||
|
||||
/** Number of virtual events */
|
||||
|
2
evutil.c
2
evutil.c
@ -2593,7 +2593,7 @@ evutil_accept4_(evutil_socket_t sockfd, struct sockaddr *addr,
|
||||
}
|
||||
|
||||
/* Internal function: Set fd[0] and fd[1] to a pair of fds such that writes on
|
||||
* fd[0] get read from fd[1]. Make both fds nonblocking and close-on-exec.
|
||||
* fd[1] get read from fd[0]. Make both fds nonblocking and close-on-exec.
|
||||
* Return 0 on success, -1 on failure.
|
||||
*/
|
||||
int
|
||||
|
Loading…
x
Reference in New Issue
Block a user