1 #define bcopy(s,d,l) memcpy((d),(s),(l)) 2 #define bzero(cp,l) memset((cp),0,(l)) 3 4 #define rindex strrchr 5 #define index strchr 6 7 #define getwd getcwd 8 9 #define strcasecmp _stricmp 10 #define strncasecmp _strnicmp 11 12 #ifndef _TIMEZONE_DEFINED /* also in sys/time.h */ 13 #define _TIMEZONE_DEFINED 14 struct timezone { 15 int tz_minuteswest; 16 int tz_dsttime; 17 }; 18 19 extern int __cdecl gettimeofday (struct timeval *p, struct timezone *z); 20 #endif 21