Changeset 58775d30 in mainline for uspace/lib/c/include/sys/time.h
- Timestamp:
- 2015-03-16T16:07:21Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2003739
- Parents:
- 6069061 (diff), 795e2bf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/sys/time.h
r6069061 r58775d30 50 50 51 51 struct tm { 52 int tm_usec; /* Microseconds [0,999999]. */ 52 53 int tm_sec; /* Seconds [0,60]. */ 53 54 int tm_min; /* Minutes [0,59]. */ … … 71 72 }; 72 73 73 extern void tv_add(struct timeval *, suseconds_t); 74 extern suseconds_t tv_sub(struct timeval *, struct timeval *); 74 extern void tv_add_diff(struct timeval *, suseconds_t); 75 extern void tv_add(struct timeval *, struct timeval *); 76 extern suseconds_t tv_sub_diff(struct timeval *, struct timeval *); 77 extern void tv_sub(struct timeval *, struct timeval *); 75 78 extern int tv_gt(struct timeval *, struct timeval *); 76 79 extern int tv_gteq(struct timeval *, struct timeval *); … … 79 82 80 83 extern void udelay(useconds_t); 84 extern int usleep(useconds_t); 81 85 82 86 extern time_t mktime(struct tm *); … … 84 88 extern int time_utc2str(const time_t, char *); 85 89 extern void time_tm2str(const struct tm *, char *); 90 extern int time_tv2tm(const struct timeval *, struct tm *); 86 91 extern int time_local2tm(const time_t, struct tm *); 87 92 extern int time_local2str(const time_t, char *);
Note:
See TracChangeset
for help on using the changeset viewer.