11 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
20 /* Some things that need to be defined in order to make code written for
21 BSD Unix compile under System V Unix. */
23 /*#include <memory.h>*/
24 #define bcmp(b1,b2,len) memcmp(b1,b2,len)
25 #define bcopy(src,dst,len) memcpy(dst,src,len)
26 #define bzero(s,n) memset(s,0,n)
30 #ifndef DONTDECLARE_MALLOC
31 extern PTR EXFUN(malloc,(unsigned));
32 extern PTR EXFUN(realloc, (PTR, unsigned));
33 extern void EXFUN(free,(PTR));
36 #include "fopen-same.h"