The following functions execute a command under a timeout and convert an error code to an error message:
scds_timerun(3HA) – Executes a command under a timeout value.
scds_error_string(3HA) and scds_error_string_i18n(3HA) – Translates an error code to an error string. Strings that are returned by scds_error_string() are displayed in English. Strings that are returned by scds_error_string_i18n() are displayed in the native language that is specified by the LC_MESSAGES locale category.
scds_svc_wait(3HA) - Waits for the specified timeout period for a monitored process to die.