Manpage of DIFFTIME
DIFFTIME
Section: NEWLIB (3)
Updated: 2005 Feb 23
Index
Return to Main Contents
NAME
8.4 `difftime'--subtract two times
SYNOPSIS
#include <time.h>
double difftime(time_t TIM1, time_t TIM2);
DESCRIPTION
Subtracts the two times in the arguments: ``TIM1 - TIM2''.
RETURNS
The difference (in seconds) between TIM2 and TIM1, as a `double'.
PORTABILITY
ANSI C requires `difftime', and defines its result to be in seconds in
all implementations.
`difftime' requires no supporting OS subroutines.
SEE ALSO
difftime
is part of the
libc
library.
The full documentation for
libc
is maintained as a Texinfo manual. If
info
and
libc
are properly installed at your site, the command
-
info libc
will give you access to the complete manual.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURNS
-
- PORTABILITY
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 21:25:16 GMT, May 16, 2005
www.fiveanddime.net