errlog_close Subroutine

Purpose

Closes an open error log file.

Syntax

library liberrlog.a

#include <sys/errlog.h>

int errlog_close(handle)
errlog_handle_t handle;

Description

The error log specified by the handle argument is closed. The handle must have been returned from a previous errlog_open call.

Return Values

Upon successful completion, the errlog_close subroutine returns 0.

If an error occurs, the errlog_close subroutine returns LE_ERR_INVARG.