Lines Matching refs:new
90 int pid, fd, new, err; in xterm_open() local
155 new = xterm_fd(fd, &data->helper_pid); in xterm_open()
156 if (new < 0) { in xterm_open()
157 err = new; in xterm_open()
163 err = os_set_fd_block(new, 0); in xterm_open()
170 CATCH_EINTR(err = tcgetattr(new, &data->tt)); in xterm_open()
172 new = err; in xterm_open()
177 err = raw(new); in xterm_open()
179 new = err; in xterm_open()
188 return new; in xterm_open()
191 close(new); in xterm_open()