aboutsummaryrefslogtreecommitdiff
path: root/sys/libc/cttyseti.c
blob: 086dd98fd48fd2959851b553b9c8e35c41b3ed99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
*/

#define	import_spp
#define	import_libc
#define	import_xnames
#include <iraf.h>


/* C_TTYSETI -- Set a TTY interface parameter of type integer.
*/
void
c_ttyseti (
  XINT	tty,			/* tty descriptor		*/
  int	param,			/* code of param to be set	*/
  int	value			/* value to be set		*/
)
{
	XINT  x_tty = tty, x_param = param, x_value = value;

	TTYSETI (&x_tty, &x_param, &x_value);
}