12 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
18 * Some things that need to be defined in order to make code written for
19 * BSD Unix compile under System V ("USG") Unix. This file should be
20 * conditionally included in the source.
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)
29 #define index(s,c) strchr(s,c)
30 #define rindex(s,c) strrchr(s,c)
33 * Might not need these. Leave them out for now.
37 # define L_SET SEEK_SET
43 # define L_INCR SEEK_CUR
48 #ifndef DONTDECLARE_MALLOC
49 extern PROTO(PTR
,malloc
,(unsigned));
50 extern PROTO(PTR
,realloc
, (PTR
, unsigned));
51 extern PROTO(void, free
,(PTR
));
55 typedef char int8e_type
;
56 typedef unsigned char uint8e_type
;
57 typedef short int16e_type
;
58 typedef unsigned short uint16e_type
;
59 typedef int int32e_type
;
60 typedef unsigned int uint32e_type
;
62 /* CORRECT SIZE OR GREATER */
63 typedef char int8_type
;
64 typedef unsigned char uint8_type
;
65 typedef short int16_type
;
66 typedef unsigned short uint16_type
;
67 typedef int int32_type
;
68 typedef unsigned int uint32_type
;
This page took 0.032669 seconds and 5 git commands to generate.