Changeset d3e3a71 in mainline for uspace/lib/posix/time.c


Ignore:
Timestamp:
2012-04-23T22:35:15Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3293a94
Parents:
56b308e
Message:

libc: move difftime() from libposix to libc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/time.c

    r56b308e rd3e3a71  
    311311
    312312/**
    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 /**
    325313 * Converts a time value to a broken-down UTC time.
    326314 *
Note: See TracChangeset for help on using the changeset viewer.