Changeset 40cfab47 in rtems


Ignore:
Timestamp:
08/12/96 19:19:03 (27 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d60d9505
Parents:
9b77fee
Message:

time: It is not an error if the TOD is not set.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/src/time.c

    r9b77fee r40cfab47  
    6565  time_t  seconds_since_epoch;
    6666
    67   if ( !_TOD_Is_set() )
    68     set_errno_and_return_minus_one( EINVAL );
     67  /*
     68   *  No error is the time of day is not set.   For RTEMS the system time
     69   *  starts out at the rtems epoch.
     70   */
    6971
    7072  /*
  • cpukit/posix/src/time.c

    r9b77fee r40cfab47  
    6565  time_t  seconds_since_epoch;
    6666
    67   if ( !_TOD_Is_set() )
    68     set_errno_and_return_minus_one( EINVAL );
     67  /*
     68   *  No error is the time of day is not set.   For RTEMS the system time
     69   *  starts out at the rtems epoch.
     70   */
    6971
    7072  /*
Note: See TracChangeset for help on using the changeset viewer.