aboutsummaryrefslogtreecommitdiff
path: root/sys/etc/gethost.x
blob: 029a9a0d2e92984af1b53bafcc03235f7cc3f420 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.

# GETHOST -- Get the network name of the host machine.

procedure gethost (outstr, maxch)

char	outstr[maxch]		# receives host name string
int	maxch

begin
	call zghost (outstr, maxch)
	call strupk (outstr, outstr, maxch)
end