#include <evlog.h> int log_close( const logd_t logdes );
A successful call to log_close()
returns a value of zero
and an unsuccessful call returns the errno
.
The log_close()
function deallocates the open log file descriptor
indicated by log_des
.
When all log file descriptors associated with an open log file description have been closed, the open log file description is freed.
If the link count of the log file is zero, when all log file descriptors have been closed, the space occupied by the log file is freed and the log file shall no longer be accessible.
If the process has successfully registered a notification request for the log file descriptor, the registration is removed.
The _POSIX_LOGGING
feature flag is defined to indicate
this service is available.
Copyright © 1988-2004 OAR Corporation