Home
last modified time | relevance | path

Searched refs:my_fd (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/ncurses/progs/
H A Dtty_settings.c41 static int my_fd;
61 my_fd = fd; in get_tty_settings()
62 if (fd < 0 || GET_TTY(my_fd, tty_settings) < 0) { in get_tty_settings()
84 my_fd = fileno(stdout); in save_tty_settings()
90 return my_fd; in save_tty_settings()
97 SET_TTY(my_fd, &original_settings); in restore_tty_settings()
105 SET_TTY(my_fd, new_settings); in update_tty_settings()
H A Dtset.c777 int my_fd; in main() local
850 my_fd = save_tty_settings(&mode, TRUE); in main()
862 reset_tty_settings(my_fd, &mode, noset); in main()
867 ttype = get_termcap_entry(my_fd, *argv); in main()
874 set_window_size(my_fd, &my_rows, &my_cols); in main()
884 if (send_init_strings(my_fd, &oldmode)) { in main()
889 if (IsRealTty(my_fd, name)) { in main()
/freebsd/usr.sbin/pkg/
H A Dpkg.c553 int my_fd; in parse_cert() local
573 if ((my_fd = dup(fd)) == -1) { in parse_cert()
578 if ((fp = fdopen(my_fd, "rb")) == NULL) { in parse_cert()
580 close(my_fd); in parse_cert()