perl-Sys-Hostname - Try every conceivable way to get hostname
Website: | http://www.perl.org/ |
---|---|
License: | GPL+ or Artistic |
- Description:
Attempts several methods of getting the system hostname and then caches the result. It tries the first available of the C library's gethostname(), `$Config{aphostname}`, uname(2), syscall(SYS_gethostname), `hostname`, `uname -n`, and the file /com/host. If all that fails it croaks. All NULs, returns, and newlines are removed from the result.
Packages
perl-Sys-Hostname-1.18-5m.mo8.i686 [31 KiB] |
Changelog
by Yohsuke Ooi (2016-08-05):
- (20:5.20.0-5m) - add gcc5 patches |