GNU Info

Info Node: (g77-295.info)HostNm Intrinsic (function)

(g77-295.info)HostNm Intrinsic (function)


Next: Huge Intrinsic Prev: HostNm Intrinsic (subroutine) Up: Table of Intrinsic Functions
Enter node , (file) or (file)node

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)').

   On some systems (specifically SCO) it might be necessary to link the
"socket" library if you call this routine.  Typically this means adding
`-lg2c -lsocket -lm' to the `g77' command line when linking the program.

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


automatically generated by info2www version 1.2.2.9