delorie.com/djgpp/doc/libc/libc_821.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <time.h> time_t time(time_t *t); |
If t is not NULL
, the current time is stored in *t
.
The current time is returned.
ANSI/ISO C | C89; C99 |
POSIX | 1003.2-1992; 1003.1-2001 |
printf("Time is %d\n", time(0)); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |