www.delorie.com/djgpp/doc/libc-2.01/libc_653.html   search  
Go to the first, previous, next, last section, table of contents.


time

Syntax

#include <time.h>

time_t time(time_t *t);

Description

If t is not NULL, the current time is stored in *t.

Return Value

The current time is returned.

Example

printf("Time is %d\n", time(0));


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997