Lines Matching refs:new
88 int pid, fd, new, err; in xterm_open() local
152 new = xterm_fd(fd, &data->helper_pid); in xterm_open()
153 if (new < 0) { in xterm_open()
154 err = new; in xterm_open()
160 err = os_set_fd_block(new, 0); in xterm_open()
167 CATCH_EINTR(err = tcgetattr(new, &data->tt)); in xterm_open()
169 new = err; in xterm_open()
174 err = raw(new); in xterm_open()
176 new = err; in xterm_open()
185 return new; in xterm_open()
188 close(new); in xterm_open()