Manual pages › C library (3C)
difftime(3C)
computes the difference between two calendar times
From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.
NAME
difftime - computes the difference between two calendar times
SYNOPSIS
#include <time.h>
double difftime (time _ t time1, time _ t time0);
DESCRIPTION
difftime computes the difference between two calendar times. difftime returns the difference (time1 -time0 ) expressed in seconds as a double . This function is provided because there are no general arithmetic properties defined for type time _ t .
SEE ALSO
ctime (3C) .
amigaux.org is an independent, unofficial project. This site and its developers are not affiliated with, endorsed by, or sponsored by Amiga Corporation. Amiga is a registered trademark of Amiga Corporation. The project is likewise not affiliated with, endorsed by, or sponsored by Commodore or any other trademark holder. AmigaOS and Amiga UNIX are trademarks of their respective owners; UNIX is a registered trademark of The Open Group. Amiga UNIX is Commodore's port of AT&T UNIX System V Release 4; portions are copyright AT&T, UNIX System Laboratories and their successors.