Did you know ... | Search Documentation: |
Pack genutils -- prolog/hostname.pl |
This module provides just one predicate to access the machine hostname. It first looks in the HOSTNAME environment variable. If this is unsuccessful, it call the system hostname command once and keeps the result for reuse.
TODO
: what happens if the calling hostname fails?
The following predicates are exported, but not or incorrectly documented.