11 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
17 #define MAXPATHLEN 1024
18 #endif /* MAXPATHLEN */
22 /* Some things that need to be defined in order to make code written for
23 BSD Unix compile under System V Unix. */
26 #define bcmp(b1,b2,len) memcmp(b1,b2,len)
27 #define bcopy(src,dst,len) memcpy(dst,src,len)
28 #define bzero(s,n) memset(s,0,n)
32 #ifndef DONTDECLARE_MALLOC
33 extern PTR EXFUN(malloc,(unsigned));
34 extern PTR EXFUN(realloc, (PTR, unsigned));
35 extern void EXFUN( free,(PTR));
38 #include "fopen-same.h"