11 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
17 extern void free PARAMS ((PTR));
18 #else /* not __STDC__ */
19 extern int free PARAMS ((PTR));
20 #endif /* not __STDC__ */
21 extern void abort PARAMS ((void));
22 extern int close PARAMS ((int));
23 extern int fprintf PARAMS ((FILE *,CONST char *,...));
24 extern int qsort PARAMS ((void *data, int els, int siz, int func()));
25 extern void exit PARAMS ((int));
26 extern int fclose PARAMS ((FILE*));
27 extern void bcopy PARAMS ((char*,char*,int));
28 extern int bcmp PARAMS ((char *, char *, int));
29 extern void bzero PARAMS ((char *, int));
30 extern void perror PARAMS ((CONST char *));
31 extern char *getenv();
32 extern char * strchr();
33 extern char *memchr();
34 extern char *strrchr();
39 #ifndef DONTDECLARE_MALLOC
40 extern PTR malloc PARAMS ((unsigned));
41 extern PTR realloc PARAMS ((PTR, unsigned));
44 extern char *strrchr();
49 extern int vfprintf();
51 extern char *getenv();
56 #include "fopen-same.h"