Changeset 378d349 in mainline for uspace/lib/c/generic/time.c


Ignore:
Timestamp:
2018-08-25T08:34:26Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Children:
b43f393
Parents:
8c85f0f
Message:

Provide a dummy implementation of clock()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/time.c

    r8c85f0f r378d349  
    7070static async_sess_t *clock_conn = NULL;
    7171
     72/** Return processor time used by the program.
     73 *
     74 * @return -1  The processor time used is not available in this implementation.
     75 */
     76clock_t clock(void)
     77{
     78        return (clock_t) -1;
     79}
     80
    7281/** Check whether the year is a leap year.
    7382 *
Note: See TracChangeset for help on using the changeset viewer.