acl_log_file_c
status.i4.v = acl_log_file_c(log_file.i1a.r, options.u4.v)
This routine sets the log file for Accelerator Command Language
(ACL) scripts. The log file argument to 'acl_execute_c' can
override this value.
log_file fully specified name of log file to generate
(If a value of NULL is passed for this argument,
the log file option will be turned off.)
options log file options
(ACL_OPT_NONE -> no options selected)
This function returns ACNET status values as follows:
CLIB_OK success
CLIB_INVSIZ file name too long
This function requires the following include files:
cbslib_h, acnet_errors.h
Related functions:
intro_acl, acl_execute_c, acl_file_execute_c, acl_file_read_c,
acl_file_write_c, acl_compile_c, acl_free_c, acl_read_symbol_c,
acl_read_symbol_info_c, acl_read_symbol_names, acl_delete_symbol,
acl_info_c, acl_cancel_requests_c, acl_set_symbol_c,
acl_default_data_source_c, acl_default_script_path_c,
acl_script_is_executing, acl_register_host_request_func,
acl_unregister_host_request_func, acl_translate_command_string
C usage:
static const char log_file[] = "mylog.log";
int status;
unsigned int options = ACL_OPT_NONE;
status = acl_log_file_c(log_file,options);