20 lines
421 B
Plaintext
20 lines
421 B
Plaintext
'\"macro stdmacro
|
|
.TH DIFFTIME 3C
|
|
.SH NAME
|
|
difftime \- compute difference between two calendar times
|
|
.SH SYNOPSIS
|
|
.nf
|
|
.B #include <time.h>
|
|
.PP
|
|
.B "double difftime (time_t time1, time_t time0);"
|
|
.fi
|
|
.SH DESCRIPTION
|
|
.I difftime
|
|
computes the difference between two calendar times:
|
|
.BR "time1 - time0" .
|
|
.SH "SEE ALSO"
|
|
mktime(3C), time(2).
|
|
.SH DIAGNOSTICS
|
|
.I difftime
|
|
returns the difference expressed in seconds as a double.
|