dce_aud_rewind(3sec)Rewinds the specified audit trail. Used by the trail analysis and examination tools. Synopsis
#include <dce/audit.h> Parameters Input
at Output
status Description The dce_aud_rewind( ) function rewinds the audit trail file. This function can be used to instantly clean up the audit trail file if it is no longer needed. dce_aud_open( ) must be called to specify the desired audit trail file, and the specified audit trail file must be opened with the aud_c_trl_open_write flag. Otherwise, the routine will rewind the audit trail which is currently set in the value of at. If the call is successful, the file cursors are set to the beginning of the file.. Return Values No value is returned. Errors The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.
aud_s_ok
aud_s_invalid_trail_descriptor
aud_s_trl_invalid_open_flag
aud_s_rewind_trl_flag
aud_s_rewind_index_flag Related Information Function: dce_aud_open(3sec)
|