Datasheet

The C and C++ Libraries
ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-87
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*
.
4.11.4 remove()
This is the standard C library
remove()
function from
stdio.h
.
Syntax
int remove(const char *filename)
Implementation
remove()
causes the file whose name isthe string pointed to by
filename
to be removed.
Subsequent attempts to open the file will fail, unless it is created again. If the file is
open, the behavior of the remove function is implementation-defined.
Returns
Returns zero if the operation succeeds or nonzero if it fails.