Changeset 378d349 in mainline
- Timestamp:
- 2018-08-25T08:34:26Z (6 years ago)
- Children:
- b43f393
- Parents:
- 8c85f0f
- Location:
- uspace/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/time.c
r8c85f0f r378d349 70 70 static async_sess_t *clock_conn = NULL; 71 71 72 /** Return processor time used by the program. 73 * 74 * @return -1 The processor time used is not available in this implementation. 75 */ 76 clock_t clock(void) 77 { 78 return (clock_t) -1; 79 } 80 72 81 /** Check whether the year is a leap year. 73 82 * -
uspace/lib/posix/include/posix/time.h
r8c85f0f r378d349 43 43 #include "libc/time.h" 44 44 45 # ifndef CLOCKS_PER_SEC45 #undef CLOCKS_PER_SEC 46 46 #define CLOCKS_PER_SEC (1000000L) 47 #endif48 47 49 48 #ifndef __locale_t_defined
Note:
See TracChangeset
for help on using the changeset viewer.