dm_system_error_message Function

public function dm_system_error_message(error) result(string)

Uses

  • proc~~dm_system_error_message~~UsesGraph proc~dm_system_error_message dm_system_error_message module~dm_c dm_c proc~dm_system_error_message->module~dm_c module~dm_kind dm_kind module~dm_c->module~dm_kind unix unix module~dm_c->unix iso_fortran_env iso_fortran_env module~dm_kind->iso_fortran_env

Returns system error string from strerror(3). If error is not passed, this function uses errno(2) as error code.

Arguments

Type IntentOptional Attributes Name
integer, intent(in), optional :: error

System error code.

Return Value character(len=:), allocatable

Error message.


Calls

proc~~dm_system_error_message~~CallsGraph proc~dm_system_error_message dm_system_error_message c_errno c_errno proc~dm_system_error_message->c_errno c_strerror c_strerror proc~dm_system_error_message->c_strerror proc~dm_c_f_string_pointer dm_c_f_string_pointer proc~dm_system_error_message->proc~dm_c_f_string_pointer c_strlen c_strlen proc~dm_c_f_string_pointer->c_strlen