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

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


/* C_TTYSTATI -- Return the value of a TTY integer interface parameter.
*/
XINT
c_ttystati (
  XINT	tty,			/* tty descriptor		*/
  int	param			/* code of param to be set	*/
)
{
	XINT  x_tty = tty, x_param = param;

	return (TTYSTATI (&x_tty, &x_param));
}