Searched refs:fdfmt (Results 1 – 6 of 6) sorted by relevance
523 int fdevent_ioctl_fionread (int fd, int fdfmt, int *toread) { in fdevent_ioctl_fionread() argument525 if (fdfmt != S_IFSOCK) { errno = ENOTSOCK; return -1; } in fdevent_ioctl_fionread()530 if (fdfmt != S_IFIFO) { errno = EOPNOTSUPP; return -1; } in fdevent_ioctl_fionread()532 UNUSED(fdfmt); in fdevent_ioctl_fionread()
26 int fdfmt; member
107 int fdevent_ioctl_fionread (int fd, int fdfmt, int *toread);
769 ssize_t n = (opts->fdfmt == S_IFSOCK) in http_response_append_splice()1244 if (0 == fdevent_ioctl_fionread(fd, opts->fdfmt, (int *)&toread)) { in http_response_read()
1051 hctx->opts.fdfmt = S_IFIFO; in URIHANDLER_FUNC()
2663 hctx->opts.fdfmt = S_IFSOCK; in gw_check_extension()