Manpage of TIME
TIME
Section: NEWLIB (3)
Updated: 2005 Feb 23
Index
Return to Main Contents
NAME
8.9 `time'--get current calendar time (as single number)
SYNOPSIS
#include <time.h>
time_t time(time_t *T);
DESCRIPTION
`time' looks up the best available representation of the current time
and returns it, encoded as a `time_t'. It stores the same value at T
unless the argument is `NULL'.
RETURNS
A `-1' result means the current time is not available; otherwise the
result represents the current time.
PORTABILITY
ANSI C requires `time'.
Supporting OS subroutine required: Some implementations require
`gettimeofday'.
SEE ALSO
time
is part of the
libc
library.
The full documentation for
libc
is maintained as a Texinfo manual. If
info
and
libc
are properly installed at your site, the command
-
info libc
will give you access to the complete manual.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURNS
-
- PORTABILITY
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 21:25:32 GMT, May 16, 2005
www.fiveanddime.net