PreviousNext

Opening an Audit Trail File for Reading

To open the audit trail file for reading, use the dce_aud_open( ) function and specify aud_c_trl_open_read as the value for the flags parameter. In this case, the values for the first_evt_number and num_of_evts does not affect the call. For example:

dce_aud_open(aud_c_trl_open_read, AUDIT_TRAIL_FILE,

0, 0, &out_trail, status);