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

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


/* ISATTY -- Test if the given file is a terminal.
*/
int
isatty (
  XINT	fd
)
{
	XINT  x_fd = fd;

	return (XISATTY (&x_fd));
}