(C) 1998 AROS - The Amiga Research OS


NAME
#include <devices/timer.h>
#include <proto/timer.h>

void SubTime (dest , src)

LOCATION
In TimerBase at offset 8

SYNOPSIS
struct timeval * dest
struct timeval * src

FUNCTION
SubTime() will subtract the src timeval from the destination timeval, ie "dest - src --> dest".

INPUTS
dest
Destination timeval
src
Source timeval

RESULT
The timeval dest will contain the sum (dest - src).

EXAMPLE

SEE ALSO
AddTime(), CmpTime()

NOTES
This function is safe to call from interrupts.

BUGS
May not preserve registers.

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
29.01.1998 iaint
First try at timer.device - probably wont work...see email for details