Lines Matching defs:readfd
56 int readfd;
65 readfd = open(DROPBEAR_RANDOM_DEV, O_RDONLY);
66 if (readfd < 0) {
77 readfd = socket(PF_UNIX, SOCK_STREAM, 0);
78 if (readfd < 0) {
82 if (connect(readfd, (struct sockaddr*)&egdsock,
91 if (write(readfd, egdcmd, 2) < 0)
108 FD_SET(readfd, &read_fds);
109 ret = select(readfd + 1, &read_fds, NULL, NULL, &timeout);
116 readlen = read(readfd, &buf[readpos], buflen - readpos);
126 close (readfd);