Changeset af5a571 in rtems


Ignore:
Timestamp:
Aug 27, 1998, 8:53:21 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
a44a927
Parents:
6520befe
Message:

Updated log_seek() per review.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/new_chapters/eventlog.t

    r6520befe raf5a571  
    265265
    266266int log_read(
    267   const logd_t logdes,
     267  const logd_t      logdes,
    268268  struct log_entry *entry,
    269269  void             *log_buf,
     
    453453@table @b
    454454@item EBADF
    455 The logdes argument is not a valid log file descriptor.
    456 
    457 @item EINTR
    458 The log_seek() function was interrupted by a signal.
    459 
    460 @item EINVAL
    461 The log_recid argument is not a valid record id.
    462 
    463 @end table
    464 
    465 @subheading DESCRIPTION:
    466 
    467 The @code{log_seek} function shall set the log file offset of the open
     455The @code{logdes} argument is not a valid log file descriptor.
     456
     457@end table
     458
     459@subheading DESCRIPTION:
     460
     461The @code{log_seek} function sets the log file offset of the open
    468462log description associated with the @code{logdes} log file descriptor
    469463to the event record in the log file identified by @code{log_recid}. 
     
    474468@item LOG_SEEK_START
    475469Set log file position to point at the first event
    476 record in the log file
     470record in the log file.
    477471
    478472@item LOG_SEEK_END
    479473Set log file position to point after the last event
    480 record in the log file
    481 
    482 @end table
    483 
    484 If the @code{log_seek} function is interrupted, the state of the open log
    485 file description associated with @code{logdes} is unspecified.
    486 
    487 @subheading NOTES:
    488 
    489 The @code{_POSIX_LOGGING} feature flag is defined to indicate
    490 this service is available.
     474record in the log file.
     475
     476@end table
     477
     478@subheading NOTES:
     479
     480The @code{_POSIX_LOGGING} feature flag is defined to indicate
     481this service is available.
     482
     483This implementation can not return @code{EINTR}.
     484
     485This implementation can not return @code{EINVAL} to indicate that
     486the @code{log_recid} argument is not a valid record id.
    491487
    492488@page
Note: See TracChangeset for help on using the changeset viewer.