Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ difftime(3C) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ctime(3C)

attributes(5)

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. 

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level MT-Safe

SEE ALSO

ctime(3C), attributes(5)

SunOS 5.6  —  Last change: 29 Dec 1996

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