Standard C Library (libc.so, libc.a)
Interfaces documented on this reference page conform to industry standards as follows:
difftime(): XPG4, XPG4-UNIX
Refer to the standards(5) reference page for more information about industry standards and associated tags.
Specifies a time value expressed in seconds. Specifies a time value expressed in seconds.
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.
The difftime() function is supported for multithreaded applications.
Upon successful completion the difftime() function returns a value, expressed in seconds, that is the difference between the values of parameters time1 and time2.
Functions: ctime(3), time(3), timezone(3)
Standards: standards(5) delim off