Manpage of CTIME
CTIME
Section: NEWLIB (3)
Updated: 2005 Feb 23
Index
Return to Main Contents
NAME
8.3 `ctime'--convert time to local and format as string
SYNOPSIS
#include <time.h>
char *ctime(const time_t *CLOCK);
char *ctime_r(const time_t *CLOCK, char *BUF);
DESCRIPTION
Convert the time value at CLOCK to local time (like `localtime') and
format it into a string of the form
Wed Jun 15 11:38:07 19880
(like `asctime').
RETURNS
A pointer to the string containing a formatted timestamp.
PORTABILITY
ANSI C requires `ctime'.
`ctime' requires no supporting OS subroutines.
SEE ALSO
ctime
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:14 GMT, May 16, 2005
www.fiveanddime.net