ARM VERSION 1.2 Ficha Técnica Página 177

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 276
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 176
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.
Vista de página 176
1 2 ... 172 173 174 175 176 177 178 179 180 181 182 ... 275 276

Comentários a estes Manuais

Sem comentários