PreviousNext

dce_svc_log_rewind(3dce)

Rewinds binary log file to first record

Synopsis

#include <dce/dce.h>
#include <pthread.h>
#include <dce/svclog.h>

void dce_svc_log_rewind(

dce_svc_log_handle_t handle,
error_status_t *status);

Parameters

Input

handle
The handle (returned by dce_svc_log_open( )) of the log file to be rewound.

Output

status
Returns the status code from this operation. The status code is a value that indicates whether the routine completed successfully and if not, why not.

Description
The dce_svc_log_rewind( ) routine rewinds the current reading position of the specified (by handle) binary log file to the first record.

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.

See dce_svc_register(3dce).

Related Information
Functions: dce_svc_log_close(3dce)

dce_svc_log_get(3dce)

dce_svc_log_open(3dce)