next up previous index
Next: Calling C Functions Up: Environment Access Previous: Time and Date

Host Computer

Access to the name and unique identification of the host computer where the system is running can be obtained by the two global flags       hostname and hostid, accessed via get_flag/2 or env/0. These flags might not be available on all machines, get_flag/2 fails in these cases.



Micha Meier
Mon Mar 4 12:11:45 MET 1996