Changeset 8d2963d in mainline for uspace/lib
- Timestamp:
- 2012-04-03T07:51:15Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 923b2eba
- Parents:
- 28ca043f
- Location:
- uspace/lib
- Files:
-
- 2 edited
-
c/include/sys/time.h (modified) (1 diff)
-
drv/include/ops/clock.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/sys/time.h
r28ca043f r8d2963d 46 46 typedef uint32_t mseconds_t; 47 47 48 struct tm { 49 int tm_sec; /* 0 - 59 */ 50 int tm_min; /* 0 - 59 */ 51 int tm_hour; /* 0 - 23 */ 52 int tm_mday; /* 1 - 31 */ 53 int tm_year; /* years since 1900 */ 54 }; 55 48 56 struct timeval { 49 57 time_t tv_sec; /* seconds */ -
uspace/lib/drv/include/ops/clock.h
r28ca043f r8d2963d 40 40 41 41 typedef struct { 42 int (*time_set)(ddf_fun_t *, time_t);43 int (*time_get)(ddf_fun_t *, time_t*);42 int (*time_set)(ddf_fun_t *, struct tm *); 43 int (*time_get)(ddf_fun_t *, struct tm *); 44 44 } clock_dev_ops_t; 45 45
Note:
See TracChangeset
for help on using the changeset viewer.
