50 #define DAYS_PER_WEEK 7 53 #ifdef USER_LSTRS_WDAY 58 {
"Su",
"Mo",
"Tu",
"We",
"Th",
"Fr",
"Sa" },
59 {
"So",
"Mo",
"Di",
"Mi",
"Do",
"Fr",
"Sa" }
88 if ( language >=
N_LNG )
187 n +=
snprintf_safe( &s[n], max_len - n,
"%0*lu", frac_digits, frac );
int snprint_ctry_tm_short(char *s, size_t max_len, uchar hour, uchar minute)
int snprint_ctry_tm_long(char *s, size_t max_len, uchar hour, uchar minute, uchar second, long frac, ushort frac_digits)
int snprint_ctry_tm(char *s, size_t max_len, uchar hour, uchar minute, uchar second)
#define _int_from_size_t(_n)
int snprint_ctry_dt(char *s, size_t max_len, int mday, int month, int year)
int snprint_ctry_dt_short(char *s, size_t max_len, int mday, int month)
static const char * lstrs_wday[N_LNG][7]
int snprintf_safe(char *s, size_t max_len, const char *fmt,...)
A portable, safe implementation of snprintf()
int snprint_ctry_wday(char *s, size_t max_len, int wday, LANGUAGE language)
int snprint_02u(char *s, size_t max_len, unsigned int uc)
int snprint_04u(char *s, size_t max_len, unsigned int us)
int sn_cpy_char_safe(char *dst, size_t max_len, char c)
A function to copy a character safely to a string buffer.