dm_system_host_name Function

public function dm_system_host_name(name) result(rc)

Returns host name from uname in name. The argument must be large enough to hold the name. On error, argument name will be empty.

The function returns the following error codes:

  • E_SYSTEM if system call failed.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(inout) :: name

Host name.

Return Value integer


Calls

proc~~dm_system_host_name~~CallsGraph proc~dm_system_host_name dm_system_host_name proc~dm_is_error dm_is_error proc~dm_system_host_name->proc~dm_is_error proc~dm_system_uname dm_system_uname proc~dm_system_host_name->proc~dm_system_uname c_uname c_uname proc~dm_system_uname->c_uname proc~dm_c_f_string_characters dm_c_f_string_characters proc~dm_system_uname->proc~dm_c_f_string_characters