Lines Matching refs:FIONREAD
894 (ioctl(rs->fd, FIONREAD, &size) == 0 && size))
919 if(need_close || ioctl(rs->fd, FIONREAD, &size) != 0 || size == 0 )
979 if(ioctl(rs->fd, FIONREAD, size) == 0)
986 APPL_TRACE_ERROR2("ioctl FIONREAD error, errno:%d, fd:%d", errno, rs->fd);