Turbo C Context File STRUTIL.H STRUTIL.C DRUTIL.LNK WUTIL TIMUTIL.H *.MAK TIMUTIL.C strparse wputc asc2ul R:\ROGERS\INCLUDE\NONAME00.C R:\ROGERS\INCLUDE\WUTIL.H R:\ROGERS\INCLUDE\STRUTIL.H R:\ROGERS\INCLUDE\MAKEFILE.MAK R:\ROGERS\INCLUDE\STRUTIL.C R:\ROGERS\INCLUDE\WUTIL.C R:\ROGERS\INCLUDE\DRUTIL.LNK R:\ROGERS\INCLUDE\TIMUTIL.H R:\ROGERS\INCLUDE\TIMUTIL.C #define A_ESC 0x0101 #define A_1 0x0178 #define A_2 0x0179 #define A_3 0x017A #define A_4 0x017B #define A_5 0x017C #define A_6 0x017D #define A_7 0x017E #define A_8 0x017F #define A_9 0x0180 #define A_0 0x0181 #define A_MINUS 0x0182 /*0x010C?*/ #define A_EQUAL 0x0183 /*0x010D?*/ #define A_BS 0x010E #define S_TAB 0x010F #define A_Q 0x0110 #define A_W 0x0111 #define A_E 0x0112 #define A_R 0x0113 #define A_T 0x0114 #define A_Y 0x0115 #define A_U 0x0116 #define A_I 0x0117 #define A_O 0x0118 #define A_P 0x0119 #define A_LTBRKT 0x011A #define A_RTBRKT 0x011B #define A_ENTER 0x011C #define A_A 0x011E #define A_S 0x011F #define A_D 0x0120 #define A_F 0x0121 #define A_G 0x0122 #define A_H 0x0123 #define A_J 0x0124 #define A_K 0x0125 #define A_L 0x0126 #define A_SEMICOL 0x0127 #define A_QUOTE 0x0128 #define A_TILDE 0x0129 #define A_BSLASH 0x012B #define _F11 0x01D9 #define _F12 0x01DA #define S_F11 0x0187 #define S_F12 0x0188 #define C_F11 0x0189 #define C_F12 0x018A #define A_F11 0x018B #define A_F12 0x018C #define A_Z 0x012C #define A_X 0x012D #define A_C 0x012E #define A_V 0x012F #define A_B 0x0130 #define A_N 0x0131 #define A_M 0x0132 #define A_COMMA 0x0133 #define A_PERIOD 0x0134 #define A_SLASH 0x0135 #define A_TAB 0x01A5 #define _F1 0x013B #define _F2 0x013C #define _F3 0x013D #define _F4 0x013E #define _F5 0x013F #define _F6 0x0140 #define _F7 0x0141 #define _F8 0x0142 #define _F9 0x0143 #define _F10 0x0144 #define _HOME 0x0147 #define _UPAR 0x0148 #define _PGUP 0x0149 #define _LTAR 0x014B #define _RTAR 0x014D #define _END 0x014F #define _DNAR 0x0150 #define _PGDN 0x0151 #define _INS 0x0152 #define _DEL 0x0153 #define S_F1 0x0154 #define S_F2 0x0155 #define S_F3 0x0156 #define S_F4 0x0157 #define S_F5 0x0158 #define S_F6 0x0159 #define S_F7 0x015A #define S_F8 0x015B #define S_F9 0x015C #define S_F10 0x015D #define C_F1 0x015E #define C_F2 0x015F #define C_F3 0x0160 #define C_F4 0x0161 #define C_F5 0x0162 #define C_F6 0x0163 #define C_F7 0x0164 #define C_F8 0x0165 #define C_F9 0x0166 #define C_F10 0x0167 #define A_F1 0x0168 #define A_F2 0x0169 #define A_F3 0x016A #define A_F4 0x016B #define A_F5 0x016C #define A_F6 0x016D #define A_F7 0x016E #define A_F8 0x016F #define A_F9 0x0170 #define A_F10 0x0171 #define C_PRTSC 0x0172 #define C_LTAR 0x0173 #define C_RTAR 0x0174 #define C_END 0x0175 #define C_PGDN 0x0176 #define C_HOME 0x0177 #define C_PGUP 0x0184 /*0x0178?*/ #define C_A 0x01 #define C_B 0x02 #define C_C 0x03 #define C_D 0x04 #define C_E 0x05 #define C_F 0x06 #define C_G 0x07 #define C_H 0x08 #define C_I 0x09 #define C_J 0x0A #define C_K 0x0B #define C_L 0x0C #define C_M 0x0D #define C_N 0x0E #define C_O 0x0F #define C_P 0x10 #define C_Q 0x11 #define C_R 0x12 #define C_S 0x13 #define C_T 0x14 #define C_U 0x15 #define C_V 0x16 #define C_W 0x17 #define C_X 0x18 #define C_Y 0x19 #define C_Z 0x1A extern int pnum; //number of parameters parsed extern int pnum; //number of parameters parsed extern int ppos[]; //offset of each parameter extern int plen[]; //length of each parameter int strparse(char *s,int psep); //returns pnum char* strparam(char* d,int p); //returns d int strparamint(char* sp,int p,int *ip); //1 if parsed to int int strparamsep(char* s); //puts \0 after each param int strparse(char *s,int psep); //returns pnum char* strparam(char* d,int p); //returns d int strparamint(char* sp,int p,int *ip); //1 if parsed to int int strparamsep(char* s); //puts \0 after each param int strparamint(char* sp,int p,int *ip); //1 if parsed to int int strparamsep(char* s); //puts \0 after each param int strparamsep(char* s); //puts \0 after each param else if ((s[i]=='x')||(s[i]=='X')) { base=16; i++; } #include "dos.h" case YYMMDD: sprintf(st,"%02u%02u%02u",t->year%100,t-month,t->day); break; case YYMMDD: sprintf(st,"%02u%02u%02u",t->year%100,t-month,t->day); break; case YYYYMMDD: sprintf(st,"%04u%02u%02u",t->year,t-month,t->day); break; case YYMMDD: sprintf(st,"%02u%02u%02u",t->year%100,t-month,t->day); break; case YYYYMMDD: sprintf(st,"%04u%02u%02u",t->year,t-month,t->day); break; case mm_HH_SS_hh: /*only time of day*/ mm_HH_SS_hh: /*only time of day*/