Functions which should not generate System or Fail Errors

The following functions should not generate system or fail errors when 4.600 TRMn and SRVn are loaded, (except as noted)

_swaph()
_swapl()
_cksum()
bf_close()
date_add_number()
date_compare()
date_ok()
date_subtract_date()
date_to_number()
df_make_name()
dvc_get_inp_source()
field_banned()
field_cursor() (generates sys_error(3) with pre 4.515 TRM)
field_force_colour()
field_force_range()
field_force_size()
freep()
freex()
heap_avail()
heap_init()
mallocxable()
map_old_position()
map_use()
number_to_date()
os_exec_prog()
os_scan_env()
pattern_match()
prn_abort()
srv_disable() (The library ignores any errors returned)
srv_end_process() (The library ignores any errors returned)
srv_load_srv()
srv_init_process()
str_lcase()
str_ucase()Rtail_found()
tail_read()
tail_get_option()
tf_check()
tf_default()
tf_delete()
tf_disk_reset()
tf_end_tf() (The library ignores any errors returned)
tf_get_date_time(),
tf_init_tf()
tf_read_sysdata()
tf_rename()
tf_round_number()
tf_set_date_time()
tf_space()
tf_trunc_number()
trm_beep()
trm_clr_ahead()
trm_colour()
trm_ctrls()
trm_curs_off()
trm_curs_on()
trm_cursor()
trm_end_trm() (The library ignores any errors returned)
trm_get_access()
trm_get_hwnd() (generates sys_error(3) with pre 4.515 TRM)
trm_raw_input()
trm_read_user()
trm_load_trm()
trm_lookchr()
trm_set_progname()
trm_set_training_mode()

The following functions do not generate system or fail errors. However, if you have written a mallocx_handler(), and that is called it might generate a system or fail error.

mallocp()
mallocp_fixed()
mallocx()
mallocx_fixed()
reallocx()
cache_start()
cache_describe()
cache_find()
cache_post()
cache_lock()
cache_unlock()
bf_open()

The following functions can only generate a Fail Error 9 (IPC error), or Fail Error 7 in a network environment when the network fails.

sf_get_date_time(),
sf_set_date_time()
sf_read_sysdata()
sf_check()
sf_default()
sf_disk_reset()
sf_rename()
sf_space()
sf_delete()