Lines Matching defs:fd
65 strioctl(int fd, int cmd, void *ptr, int ilen, int olen)
74 if (ioctl(fd, I_STR, &str) == -1) {
90 int tstfd; /* fd for device being checked */
459 saveenv(FILE *fd, const char *envname)
464 if (fgets(envstr, sizeof (envstr), fd) == NULL)
480 FILE *fd;
484 fd = fdopen(pipefd, "r");
485 if (fd == NULL)
487 (void) saveenv(fd, "IF_AND_SERVICE");
488 (void) saveenv(fd, "SERVICE_NAME");
489 (void) saveenv(fd, "AC_NAME");
490 (void) saveenv(fd, "AC_MAC");
491 (void) saveenv(fd, "SESSION_ID");
495 if (saveenv(fd, envname) <= 0)
498 (void) fclose(fd);