MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Standard C Library Functions                         difftime(3C)



NAME
     difftime - computes  the  difference  between  two  calendar
     times

SYNOPSIS
     #include 

     double difftime(timet time1, timet time0);


DESCRIPTION
     The difftime() function computes the difference between  two
     calendar times.

RETURN VALUES
     The difftime()  functions  returns  the  difference  (time1-
     time0) expressed in seconds as a double.

USAGE
     The difftime() function is provided  because  there  are  no
     general arithmetic properties defined for type timet.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Standard                    
    
     MT-Level                     MT-Safe                     
    


SEE ALSO
     ctime(3C), attributes(5), standards(5)
















SunOS 5.11          Last change: 24 Jul 2002                    1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™