Home
last modified time | relevance | path

Searched refs:input_fd (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/cmd/tnf/tnfxtract/
H A Dtnfxtract.c68 static int input_fd; variable
144 if ((input_fd = open(TNFDEV, O_RDWR)) < 0) { in live_kernel_init()
148 if (ioctl(input_fd, TIFIOCGSTATE, &tstate) < 0) { in live_kernel_init()
171 if (ioctl(input_fd, TIFIOCGHEADER, addr) != 0) { in read_tnf_header()
197 if (ioctl(input_fd, TIFIOCGBLOCK, &ioctl_arg) < 0) { in read_tnf_block()
231 if (ioctl(input_fd, TIFIOCGFWZONE, &ioctl_arg) < 0) { in read_tnf_fwzone()
/titanic_44/usr/src/lib/libtecla/common/
H A Dgetline.c377 int input_fd; /* The file descriptor to read on */ member
1762 gl->input_fd = -1; in new_GetLine()
2600 if(tcgetattr(gl->input_fd, &gl->oldattr)) { in gl_raw_terminal_mode()
2640 while(tcsetattr(gl->input_fd, TCSADRAIN, &newattr)) { in gl_raw_terminal_mode()
2680 while(tcsetattr(gl->input_fd, TCSADRAIN, &gl->oldattr)) { in gl_restore_terminal_attributes()
3220 volatile int fd = gl->file_fp ? fileno(gl->file_fp) : gl->input_fd; in gl_read_input()
3544 if(!term || setupterm((char *)term, gl->input_fd, &errret) == ERR) { in gl_control_strings()
5891 if(gl->input_fd >= 0) { in _gl_change_terminal()
5901 FD_CLR(gl->input_fd, &gl->rfds); in _gl_change_terminal()
5908 gl->input_fd = fileno(input_fp); in _gl_change_terminal()
[all …]