26 lines
593 B
C
26 lines
593 B
C
/* Copyright (c) 1984 AT&T */
|
|
/* All Rights Reserved */
|
|
|
|
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
|
/* The copyright notice above does not evidence any */
|
|
/* actual or intended publication of such source code. */
|
|
|
|
#ifndef lint
|
|
static char sccsid[] = "@(#)tinputfd.c 1.1 94/10/31 SMI"; /* from S5R3.1 1.1 */
|
|
#endif
|
|
|
|
#include "curses_inc.h"
|
|
|
|
/* Set the input channel for the current terminal. */
|
|
|
|
void
|
|
tinputfd(fd)
|
|
int fd;
|
|
{
|
|
cur_term->_inputfd = fd;
|
|
cur_term->_delay = -1;
|
|
|
|
/* so that tgetch will reset it to be _inputd */
|
|
/* cur_term->_check_fd = -2; */
|
|
}
|