Lines Matching refs:fd
14 int fd;23 info->res = grantpt(info->fd);30 int fd, err;32 fd = open("/dev/ptmx", O_RDWR);33 if (fd < 0) {40 info.fd = fd;50 if (unlockpt(fd) < 0) {56 return fd;58 close(fd);