Query: difftime
OS: opensolaris
Section: 3c
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
difftime(3C) Standard C Library Functions difftime(3C)NAMEdifftime - computes the difference between two calendar timesSYNOPSIS#include <time.h> double difftime(time_t time1, time_t time0);DESCRIPTIONThe difftime() function computes the difference between two calendar times.RETURN VALUESThe difftime() functions returns the difference (time1-time0) expressed in seconds as a double.USAGEThe difftime() function is provided because there are no general arithmetic properties defined for type time_t.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOctime(3C), attributes(5), standards(5) SunOS 5.11 24 Jul 2002 difftime(3C)
Related Man Pages |
---|
difftime(3c) - opensolaris |
difftime(3) - osf1 |
difftime(3) - opendarwin |
difftime(3) - x11r4 |
difftime(3) - v7 |
Similar Topics in the Unix Linux Community |
---|
difference between == and = |
knowledge |
Unix function to calcuate the difference in time |
Find Time difference in Unix |
Need to get the time difference for all the transactions in a day |