🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #2167

What is hostid and gethostid() equivalent?

#2167
From: Bancroft Scott
Date: Thu, 04 Oct 1990 22:31
11 lines
809 bytes
From a C program, I need to find out the unique host identifier 
of the VAX system that VMS is running on.  On Unix I would use
the gethostid() function, but I am not having luck finding a similar
function on VAX/VMS.  Does anyone know what the equivalent VAX/VMS
function is?

On Unix I can issue the hostid command which will print out the
unique host identifier, what is the equivalent on VMS?

Bancroft Scott
Technical Details
Message-ID: <Oct.4.18.31.36.1990.3807@caip.rutgers.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!caip.rutgers.edu!baos

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!caip.rutgers.edu!baos
From: baos@caip.rutgers.edu (Bancroft Scott)
Newsgroups: comp.sys.dec
Subject: What is hostid and gethostid() equivalent?
Message-ID: <Oct.4.18.31.36.1990.3807@caip.rutgers.edu>
Date: 4 Oct 90 22:31:38 GMT
Distribution: na
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 11