Lines Matching refs:ioctl
80 (void)ioctl(fd, FD_FORM, (caddr_t)&f);
90 if (ioctl(fd, FD_GOPTS, &fdopts) < 0)
91 warn("warning: ioctl(FD_GOPTS)");
95 (void)ioctl(fd, FD_SOPTS, &fdopts);
109 (void)ioctl(fd, FD_SOPTS, &ofdopts);
250 if(ioctl(fd, FD_GTYPE, &fdt) < 0)
252 if (ioctl(fd, FD_GDTYPE, &type) == -1)
253 err(EX_OSERR, "ioctl(FD_GDTYPE)");
267 if (ioctl(fd, FD_STYPE, &fdt) < 0)
268 err(EX_OSERR, "ioctl(FD_STYPE)");
324 if (ioctl(fd, FD_GSTAT, fdcs + errs) ==