Next: elapsedTime, Previous: clearTime, Up: Times
initialize a Time
structure to the current time.
#include <suplib/times.h>Time *startTime(Time *start);
Time *start
- the structure to fill. may be
NULL
startTime
initializes an internal Time
structure with
the current user, system, and clock times for the process. If the
start
parameter is not NULL
, the same data are copied
to the user specified Time
structure. The internal
Time
structure will be overwritten by each call to
startTime
.
It returns a pointer to the internal Time
structure.
Diab Jerius