Category : Files from Magazines
Archive   : CUJ9303.ZIP
Filename : 1103016A

 
Output of file : 1103016A contained in archive : CUJ9303.ZIP
/* asctime function */
#include "xtime.h"

/* static data */
static const char ampm[] = {":AM:PM"};
static const char days[] = {
":Sun:Sunday:Mon:Monday:Tue:Tuesday:Wed:Wednesday"
":Thu:Thursday:Fri:Friday:Sat:Saturday"};
static const char fmts[] = {
"|%b %D %H:%M:%S %Y|%b %D %Y|%H:%M:%S"};
static const char isdst[] = {""};
static const char mons[] = {
":Jan:January:Feb:February:Mar:March"
":Apr:April:May:May:Jun:June"
":Jul:July:Aug:August:Sep:September"
":Oct:October:Nov:November:Dec:December"};
static const char zone[] =
{""}; /* adapt by default */
static _Tinfo ctinfo = {ampm, days, fmts, isdst, mons, zone};
_Tinfo _Times = {ampm, days, fmts, isdst, mons, zone};

char *(asctime)(const struct tm *t)
{ /* format time as
"Day Mon dd hh:mm:ss yyyy\n" */
static char tbuf[] =
"Day Mon dd hh:mm:ss yyyy\n";

_Strftime(tbuf, sizeof (tbuf), "%a %c\n",
t, &ctinfo);
return (tbuf);
}



  3 Responses to “Category : Files from Magazines
Archive   : CUJ9303.ZIP
Filename : 1103016A

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/