IBM® Carrier Grade Server X3650 T
Revision 3.0
86
17.2.4 Remove Notification Request
Function: syscon_log_notify_remove()
17.2.4.1 Synopsis
#include <syscon.h>
int syscon_log_notify_remove(syscon_log_notify_t nfyhandle);
17.2.4.2 Description
The syscon_log_notify_remove() function shall remove the notification request, if any, associated with the
nfyhandle argument. The nfyhandle argument must be a valid syscon_log_notify_t object, as created by
a previous call to syscon_log_notify_add().
17.2.4.3 Returns
Upon successful completion, syscon_log_notify_remove() shall return zero. Otherwise, an error number
shall be returned to indicate the error.
17.2.4.4 Errors
If any of the following conditions occur, the syscon_log_notify_remove() function shall return the
corresponding error number:
[EINVAL]: The nfyhandle argument is not valid.
17.2.4.5 Cross-References
syscon_log_notify_add()
17.2.5 Close Event Log
Function: syscon_log_close()
17.2.5.1 Synopsis
#include <syscon.h>
int syscon_log_close(syscon_logd_t logdes);
17.2.5.2 Description
The syscon_log_close() function shall deallocate (i.e. make available for reuse by subsequent
syscon_log_open()s executed by the process) the open log descriptor indicated by logdes. This log
descriptor remains invalid unless and until it is reinitialized by a subsequent call to syscon_log_open().
17.2.5.3 Returns
Upon successful completion, syscon_log_close() shall return zero. Otherwise, an error number shall be
returned to indicate the error.