TZ-Lib
$VERSION$
|
Macros | |
#define | ASCTIME_FMT "%.3s %.3s%3d %02.2d:%02.2d:%02.2d %-4s\n" |
#define | ASCTIME_FMT_B "%.3s %.3s%3d %02.2d:%02.2d:%02.2d %s\n" |
#define | MAX_ASCTIME_BUF_SIZE (2*3+5*INT_STRLEN_MAXIMUM(int)+7+2+1+1) |
#define | STD_ASCTIME_BUF_SIZE 26 |
Functions | |
char * | asctime (register const struct tm *timeptr) |
char * | asctime_r (register const struct tm *timeptr, char *buf) |
Variables | |
static char | buf_asctime [MAX_ASCTIME_BUF_SIZE] |
#define ASCTIME_FMT "%.3s %.3s%3d %02.2d:%02.2d:%02.2d %-4s\n" |
Referenced by asctime_r().
#define ASCTIME_FMT_B "%.3s %.3s%3d %02.2d:%02.2d:%02.2d %s\n" |
Referenced by asctime_r().
#define MAX_ASCTIME_BUF_SIZE (2*3+5*INT_STRLEN_MAXIMUM(int)+7+2+1+1) |
Referenced by asctime_r().
#define STD_ASCTIME_BUF_SIZE 26 |
Referenced by asctime_r().
char* asctime | ( | register const struct tm * | timeptr | ) |
References asctime_r(), and buf_asctime.
Referenced by ctime().
char* asctime_r | ( | register const struct tm * | timeptr, |
char * | buf | ||
) |
References ASCTIME_FMT, ASCTIME_FMT_B, buf_asctime, DAYSPERWEEK, EOVERFLOW, INT_STRLEN_MAXIMUM, MAX_ASCTIME_BUF_SIZE, MONSPERYEAR, STD_ASCTIME_BUF_SIZE, and strftime().
|
static |
Referenced by asctime(), and asctime_r().