difftime - calculate time difference


   #include <time.h>

   double difftime(time_t time1, time_t time0);


   The  difftime()  function returns the number of seconds elapsed between
   time time1 and time time0, represented as a double.  Each of the  times
   is  specified  in calendar time, which means its value is a measurement
   (in seconds) relative to the Epoch, 1970-01-01 00:00:00 +0000 (UTC).


   For  an  explanation  of  the  terms  used   in   this   section,   see

   Interface   Attribute      Value   
   difftime()  Thread safety  MT-Safe 


   POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD.


   On  a  POSIX  system,  time_t is an arithmetic type, and one could just

          #define difftime(t1,t0) (double)(t1 - t0)

   when the possible overflow in the subtraction is not a concern.


   date(1), gettimeofday(2), time(2), ctime(3), gmtime(3), localtime(3)


   This page is part of release 4.09 of the Linux  man-pages  project.   A
   description  of  the project, information about reporting bugs, and the
   latest    version    of    this    page,    can     be     found     at

More Linux Commands

gjarsigner-4.6(1) - Java ARchive (JAR) file signing and veri
When the first form is used, the tool signs the designated JAR file. The second form, on the other hand, is used to verify a previously signed JAR file. FILE is

getloadavg(3) - get system load averages - Linux man page...
The getloadavg() function returns the number of processes in the system run queue averaged over various periods of time. Up to nelem samples are retrieved and a

copywin(3ncurses) - overlay and manipulate overlapped curses
copywin.3ncurses - The overlay and overwrite routines overlay srcwin on top of dstwin. scrwin and dstwin are not required to be the same size; only text where t

gvfs-mount(1) Mounts the locations - Linux manual page......
gvfs-mount provides commandline access to various aspects of GIOs mounting functionality. Mounting refers to the traditional concept of arranging multiple file

dconf(7) A configuration systen (Misc - Linux man page).....
dconf is a simple key/value storage system that is heavily optimised for reading. This makes it an ideal system for storing user preferences (which are read 100

cpanp(1) - The CPANPLUS launcher (Commands - Linux man page)
This script launches the CPANPLUS utility to perform various operations from the command line. If its invoked without arguments, an interactive shell is execute

config_list(8) - Configure a Mailman list from a text file d
This is a very powerful script which lets you view and modify a lists configuration variables from the command line. E.g. you can dump out all the list options

logb(3) - get exponent of a floating-point value (Man Page)
These functions extract the exponent from the internal floating-point representation of x and return it as a floating-point value. The integer constant FLT_RADI

help2man(1) generate a simple manual page - Linux man page
help2man generates a man page out of --help and --version output. -n, --name=STRING description for the NAME paragraph -s, --section=SECTION section number for

CPAN(3pm) - query, download and build perl modules from CPAN
The CPAN module automates or at least simplifies the make and install of perl modules and extensions. It includes some primitive searching capabilities and know

glMap1f(3gl) - define a one-dimensional evaluator (ManPage)
Evaluators provide a way to use polynomial or rational polynomial mapping to produce vertices, normals, texture coordinates, and colors. The values produced by

glBegin(3gl) - delimit the vertices of a primitive or a grou
glBegin and glEnd delimit the vertices that define a primitive or a group of like primitives. glBegin accepts a single argument that specifies in which of ten w

We can't live, work or learn in freedom unless the software we use is free.