dce_svc_log_open(3dce) — Subroutines
Name
dce_svc_log_open − Opens binary log file
Synopsis
#include <dce/dce.h>
#include <pthread.h>
#include <dce/svclog.h> void dce_svc_log_open(
const char ∗name,
dce_svc_log_handle_t ∗handle,
error_status_t ∗status);
Parameters
Input
nameThe pathname of the log file to be opened.
Output
handleA filled-in handle to the opened log file specified by name.
statusReturns 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_open() routine opens the binary log file specified by name for reading. If the call is successful, handle is filled in with a handle to be used with the other dce_svc_log_ calls. On error, status will contain an error code.
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_rewind(3dce).