difftime(3) — Subroutines
NAME
difftime - Compares time values
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <time.h>
double difftime(
time_t time1,
time_t time2) ;
PARAMETERS
time1Specifies a time value expressed in seconds.
time2Specifies a time value expressed in seconds.
DESCRIPTION
The difftime() function returns a signed time value in seconds that is the difference between the values of the time1 and time2 parameters, also expressed in seconds.
NOTES
The difftime() function is supported for multi-threaded applications.
AES Support Level:
Full use
RETURN VALUES
Upon successful completion the difftime() function returns a value, expressed in seconds, that is the difference between the values of parameters time1 and time2.
RELATED INFORMATION
Functions: ctime(3), timezone(3),