DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

eels_initialise(D3eels)


eels_initialise -- initialize an event logging session

Synopsis

#include <sys/eels.h>

int eels_initialise(eels_handle_t *handle, char *description);

Description

Initialize a session with the logging subsystem. This allocates a mapping for this driver that can be interrogated by a user application for diagnostic purposes. A unique (dynamic) handle is returned that must be used for all further EELS requests.

Arguments


handle
The returned session descriptor.

description
The name of the module using the EELS APIs.

Return values

On successful completion, eels_initialise returns 0. Otherwise, a value of n is returned, and errno is set to indicate the error.

References

Intro(D3eels), eels_initialise, eels_log(D3eels), eels_terminate(D3eels)
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - 19 June 2005