Changeset d3e3a71 in mainline for uspace/lib/posix/time.c
- Timestamp:
- 2012-04-23T22:35:15Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3293a94
- Parents:
- 56b308e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/time.c
r56b308e rd3e3a71 311 311 312 312 /** 313 * Calculate the difference between two times, in seconds.314 *315 * @param time1 First time.316 * @param time0 Second time.317 * @return Time in seconds.318 */319 double posix_difftime(time_t time1, time_t time0)320 {321 return (double) (time1 - time0);322 }323 324 /**325 313 * Converts a time value to a broken-down UTC time. 326 314 *
Note:
See TracChangeset
for help on using the changeset viewer.