#include <evlog.h> int log_severity_before( log_severity_t s1, log_severity_t s2 );
s1
is less than that of s2
.
s1
is greater than or equal that of s2
.
LOG_SEVERITY_MAX
.
The log_severity_before()
function compares the severity order
of the s1
and s2
arguments. If s1
is of
severity greater than or equal to that of s2
, then this
function returns 1. Otherwise, it returns 0.
If either s1
or s2
specify invalid severity values, the
return value of log_severity_before()
is unspecified.
The _POSIX_LOGGING
feature flag is defined to indicate
this service is available.
The POSIX specification of the return value for this function is ambiguous. If EINVAL is equal to 1 in an implementation, then the application can not distinguish between greater than and an error condition.
Copyright © 1988-2004 OAR Corporation