Changeset 7f9d97f3 in mainline for uspace/lib/c/include/sys/time.h
- Timestamp:
- 2015-03-14T21:48:01Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 270bf4f
- Parents:
- c0c38c7c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/sys/time.h
rc0c38c7c r7f9d97f3 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 *); … … 85 88 extern int time_utc2str(const time_t, char *); 86 89 extern void time_tm2str(const struct tm *, char *); 90 extern int time_tv2tm(const struct timeval *, struct tm *); 87 91 extern int time_local2tm(const time_t, struct tm *); 88 92 extern int time_local2str(const time_t, char *);
Note:
See TracChangeset
for help on using the changeset viewer.