Searched defs:output_fd (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/tnf/tnfxtract/
H A Dtnfxtract.c69 static int output_fd; variable
98 if (lseek(output_fd, offset, SEEK_SET) < 0) {
102 if (write(output_fd, addr, size) != size) {
279 output_fd = open(outfile, O_WRONLY | O_CREAT | O_TRUNC, 0600);
280 if (output_fd < 0) {
/illumos-gate/usr/src/lib/libtecla/common/
H A Dgetline.c378 int output_fd; /* The file descriptor to write to */ member in struct:GetLine
380 FILE *output_fp; /* A stream wrapper around output_fd */
1763 gl->output_fd = -1;
3740 tcflow(gl->output_fd, TCOOFF);
3749 tcflow(gl->output_fd, TCOON);
5143 if(ioctl(gl->output_fd, TIOCGWINSZ, &size) == 0 &&
5877 int is_term = 0; /* True if both input_fd and output_fd are associated */
5910 gl->output_fd = fileno(output_fp);
5925 * For terminal editing, we need both output_fd and input_fd to refer to
5929 is_term = isatty(gl->input_fd) && isatty(gl->output_fd);
[all...]

Completed in 130 milliseconds