Oberon || Library || Module Index || Search Engine || Definition || Module


Ulm's Oberon Library:
SysHost


NAME

SysHost - get host and domain name

SYNOPSIS

PROCEDURE GetHostName(VAR hostname: ARRAY OF CHAR);
PROCEDURE GetHostID(VAR hostid: LONGINT);
PROCEDURE GetDomainName(VAR domain: ARRAY OF CHAR);

DESCRIPTION

GetHostName stores the hostname into hostname. GetHostID returns a number which identifies uniquely a ID-PROM which resides on the CPU board. GetDomainName returns the NIS (formerly called Yellow Pages) domain name. This domain name is independent (and in general different) from that of the DNS (domain name service).

SEE ALSO

gethostname(2)	   GetHostName
gethostid(2)	   GetHostID
getdomainname(2)   GetDomainName

Edited by: borchert, last change: 91/11/12, revision: 1.1, converted to HTML: 1997/04/28

Oberon || Library || Module Index || Search Engine || Definition || Module