Next: , Previous: clearTime, Up: Times


6.2 startTime

initialize a Time structure to the current time.

Synopsis

     #include <suplib/times.h>
     
     
     
Time *startTime(Time *start);

Parameters

Time *start
the structure to fill. may be NULL

Description

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.

Returns

It returns a pointer to the internal Time structure.

Author

Diab Jerius