Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

reentrant(3)

ctime(3C)



difftime(3C)                   DG/UX 5.4R3.00                   difftime(3C)


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.


   Considerations for Threads Programming
                     +---------+-----------------------------+
                     |         |                      async- |
                     |function | reentrant   cancel   cancel |
                     |         |              point    safe  |
                     +---------+-----------------------------+
                     |difftime |     Y          N        N   |
                     +---------+-----------------------------+

SEE ALSO
       reentrant(3). ctime(3C).































Licensed material--property of copyright holder(s)                         1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026