aboutsummaryrefslogtreecommitdiff
path: root/sys/gty/gtygetb.x
blob: 53d5f31ecbd4a8418a6838214e925ea5053dc851 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.

# GTYGETB -- Determine whether or not a capability exists for a device.
# If there is any entry at all, the capability exists.

bool procedure gtygetb (tty, cap)

pointer	tty			# tty descriptor
char	cap[ARB]		# two character capability name
pointer	ip
int	gty_find_capability()

begin
	return (gty_find_capability (tty, cap, ip) == YES)
end