TZ-Lib  $VERSION$
asctime.c File Reference
#include "private.h"
#include "tzfile.h"

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]
 

Macro Definition Documentation

#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().

Function Documentation

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 
)

Variable Documentation

char buf_asctime[MAX_ASCTIME_BUF_SIZE]
static

Referenced by asctime(), and asctime_r().