1 /* Host configuration file for Interactive Unix 3.2 */
13 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
22 /* Some things that need to be defined in order to make code written for
23 BSD Unix compile under System V Unix. */
25 /*#include <memory.h>*/
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)
31 #define index(s,c) strchr(s,c)
32 #define rindex(s,c) strrchr(s,c)
34 #ifndef DONTDECLARE_MALLOC
35 extern PTR EXFUN(malloc,(unsigned));
36 extern PTR EXFUN(realloc, (PTR, unsigned));
37 extern void EXFUN(free,(PTR));
41 typedef char int8e_type;
42 typedef unsigned char uint8e_type;
43 typedef short int16e_type;
44 typedef unsigned short uint16e_type;
45 typedef int int32e_type;
46 typedef unsigned int uint32e_type;
48 /* CORRECT SIZE OR GREATER */
49 typedef char int8_type;
50 typedef unsigned char uint8_type;
51 typedef short int16_type;
52 typedef unsigned short uint16_type;
53 typedef int int32_type;
54 typedef unsigned int uint32_type;
56 #include "fopen-same.h"
59 #define fileno(fp) ((fp)->_file)