gethostname Interface

interface
public subroutine gethostname(nm, sz) bind(c)

Arguments

Type IntentOptional Attributes Name
character(kind=c_char, len=1), intent(out) :: nm
integer(kind=c_size_t), value :: sz