Lines Matching refs:wfd
98 int ssize = sizeof ss, wfd;
103 wfd = accept(s->fd, sa, &ssize);
104 if (wfd < 0)
107 close(wfd);
108 wfd = -1;
111 wfd = -1;
113 if (wfd >= 0)
125 close(wfd);
126 wfd = -1;
140 close(wfd);
141 wfd = -1;
150 write(wfd, "Unrecognised access !\n", 22);
151 close(wfd);
152 wfd = -1;
156 if (wfd >= 0) {
157 if ((p = prompt_Create(s, bundle, wfd)) == NULL) {
158 write(wfd, "Connection refused.\n", 20);
159 close(wfd);