HOSTNM
9.123 HOSTNM
— Get system host name
- Description:
- Retrieves the host name of the system on which the program is running.
This intrinsic is provided in both subroutine and function forms; however, only one form can be used in any given program unit.
- Standard:
- GNU extension
- Class:
- Subroutine, function
- Syntax:
-
CALL HOSTNM(C [, STATUS])
STATUS = HOSTNM(NAME)
- Arguments:
-
C Shall of type CHARACTER
and of default kind.STATUS (Optional) status fl