|
||
time_t time( time_t *tp )
time_t *tp; /* address of time structure to receive time value */
|
|
|
Synopsis |
#include "time.h"
The time function returns the current calendar time in the arithmetic type time_t . If the pointer tp is not NULL , then the time is stored there, as well.
|
|
Parameters |
tp is the address of a time_t value.
|
|
Return Value |
time returns the current time as a time_t .
|
|
See Also |
|
|
|
|