Lines Matching defs:fd
257 (*ctx->logger)(ctl_error, "%s: evListen(fd %d): %s",
402 ctl_accept(evContext lev, void *uap, int fd,
415 if (fd < 0) {
425 (void) close(fd);
432 (void) close(fd);
435 if (fcntl(fd, F_SETFD, 1) < 0) {
443 sess->sock = fd;
462 (*ctx->logger)(ctl_debug, "%s: %s: accepting (fd %d)",
513 (*ctx->logger)(ctl_debug, "%s: %s: closed (fd %d)",
567 ctl_readable(evContext lev, void *uap, int fd, int evmask) {
575 REQUIRE(fd >= 0);
720 ctl_writedone(evContext lev, void *uap, int fd, int bytes) {
731 REQUIRE(fd == sess->sock);