Go to the first, previous, next, last section, table of contents.


HostNm Intrinsic (function)

HostNm(Name)

HostNm: INTEGER(KIND=1) function.

Name: CHARACTER; scalar; INTENT(OUT).

Intrinsic groups: unix.

Description:

Fills Name with the system's host name returned by gethostname(2), returning 0 on success or a non-zero error code (ENOSYS if the system does not provide gethostname(2)).

For information on other intrinsics with the same name: See section HostNm Intrinsic (subroutine).


Go to the first, previous, next, last section, table of contents.