Changeset c5568160 in rtems


Ignore:
Timestamp:
Aug 27, 1998, 6:28:17 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
d65d22a0
Parents:
9c79229
Message:

Corrected log_severity_before as part of reviewing the code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/new_chapters/eventlog.t

    r9c79229 rc5568160  
    509509
    510510@table @b
     511@item 0
     512The severity of @code{s1} is less than that of @code{s2}.
     513
     514@item 1
     515The severity of @code{s1} is greater than or equal that of @code{s2}.
     516
    511517@item EINVAL
    512518The value of either s1 or s2 exceeds @code{LOG_SEVERITY_MAX}.
     
    516522@subheading DESCRIPTION:
    517523
    518 The @code{log_severity_before} function shall compare the severity order
    519 of the @code{s1} and @code{s2} arguments.  Severity values ordered
    520 according to this function shall be according to decreasing severity.
    521 
    522 If @code{s1} is ordered before or is equal to @code{s2} then the ordering
    523 predicate shall return 1, otherwise the predicate shall return 0.  If
    524 either @code{s1} or @code{s2} specify invalid severity values, the return
    525 value of @code{log_severity_before} is unspecified.
    526 
    527 @subheading NOTES:
    528 
    529 The @code{_POSIX_LOGGING} feature flag is defined to indicate
    530 this service is available.
     524The @code{log_severity_before} function compares the severity order
     525of the @code{s1} and @code{s2} arguments.  If @code{s1} is of
     526severity greater than or equal to that of @code{s2}, then this
     527function returns 1.  Otherwise, it returns 0.
     528
     529If either @code{s1} or @code{s2} specify invalid severity values, the
     530return value of @code{log_severity_before} is unspecified.
     531
     532@subheading NOTES:
     533
     534The @code{_POSIX_LOGGING} feature flag is defined to indicate
     535this service is available.
     536
     537The POSIX specification of the return value for this function is ambiguous.
     538If @code{EINVAL} is equal to 1 in an implementation, then the application
     539can not distinguish between greater than and an error condition.
    531540
    532541@page
Note: See TracChangeset for help on using the changeset viewer.