Lines Matching refs:retval
124 int retval;
127 retval = ipmp_read(fd, typep, sizeof (*typep), endtp);
128 if (retval != IPMP_SUCCESS)
129 return (retval);
131 retval = ipmp_read(fd, lenp, sizeof (*lenp), endtp);
132 if (retval != IPMP_SUCCESS)
133 return (retval);
147 retval = ipmp_read(fd, value, *lenp, endtp);
148 if (retval != IPMP_SUCCESS) {
150 return (retval);
189 int retval;
191 retval = ipmp_write(fd, &type, sizeof (type));
192 if (retval != IPMP_SUCCESS)
193 return (retval);
195 retval = ipmp_write(fd, &len, sizeof (len));
196 if (retval != IPMP_SUCCESS)
197 return (retval);
210 int retval;
243 retval = poll(&pfd, 1, timeleft);
244 if (retval <= 0) {
245 if (retval == 0)