'\" te .\" Copyright 1989 AT&T Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved .TH difftime 3C "24 Jul 2002" "SunOS 5.11" "Standard C Library Functions" .SH NAME difftime \- computes the difference between two calendar times .SH SYNOPSIS .LP .nf #include \fBdouble\fR \fBdifftime\fR(\fBtime_t\fR \fItime1\fR, \fBtime_t\fR \fItime0\fR); .fi .SH DESCRIPTION .sp .LP The \fBdifftime()\fR function computes the difference between two calendar times. .SH RETURN VALUES .sp .LP The \fBdifftime()\fR functions returns the difference \fI(time1-time0)\fR expressed in seconds as a \fBdouble\fR. .SH USAGE .sp .LP The \fBdifftime()\fR function is provided because there are no general arithmetic properties defined for type \fBtime_t\fR. .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Interface StabilityCommitted _ MT-LevelMT-Safe _ StandardSee \fBstandards\fR(5). .TE .SH SEE ALSO .sp .LP \fBctime\fR(3C), \fBattributes\fR(5), \fBstandards\fR(5)