Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought



difftime(3C)                      SDK R4.11                     difftime(3C)


NAME
       difftime - compute 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    |
                     +---------+-----------------------------+
REFERENCES
       reentrant(3), ctime(3C)


Licensed material--property of copyright holder(s)

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