[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 1

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.

Related Information

The errlog_open, errlog_find_first, errlog_find_next, errlog_find_sequence, errlog_set_direction, errlog_write, and errlog subroutines.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]