4.11.3. time()

This is the standard C library time() function from time.h.

Syntax

time_t time(time_t *timer);

The return value is an approximation of the current calendartime.

Returns

The value (time_t*)-1 is returned if the calendar time is not available. If timer is not a NULL pointer, the return value is also assigned to the time_t*.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI 0067D
Non-Confidential