ASCTIME(3) NEWLIB ASCTIME(3)NAME
9.1 `asctime'--format time as string
SYNOPSIS
#include <time.h>
char *asctime(const struct tm *CLOCK);
char *_asctime_r(const struct tm *CLOCK, char *BUF);
DESCRIPTION
Format the time value at CLOCK into a string of the form
Wed Jun 15 11:38:07 198800
The string is generated in a static buffer; each call to `asctime'
overwrites the string generated by previous calls.
RETURNS
A pointer to the string containing a formatted timestamp.
PORTABILITY
ANSI C requires `asctime'.
`asctime' requires no supporting OS subroutines.
SEE ALSOasctime is part of the library. The full documentation for is main‐
tained as a Texinfo manual. If info and are properly installed at your
site, the command
info
will give you access to the complete manual.
NEWLIB April 2010 ASCTIME(3)