Lines Matching refs:opt
919 unsigned long opt;
921 if (ioctlsocket(fd, FIONREAD, &opt) < 0)
924 return opt;
926 int opt;
928 if (ioctl(fd, FIONREAD, &opt) < 0)
931 return opt;
1073 DWORD opt = (DWORD)-1;
1075 int opt = -1;
1077 size_t optlen = sizeof(opt);
1078 ret = getsockopt(fd, domain, option, (char*)&opt, &optlen);
1080 return (int)opt;
1097 unsigned long opt = 1;
1098 return ioctlsocket(fd, FIONBIO, &opt);
1108 unsigned long opt = 0;
1109 return ioctlsocket(fd, FIONBIO, &opt);