* hosts/h-*.h: Configure fopen using ../include/fopen-*.h
[deliverable/binutils-gdb.git] / bfd / hosts / dgux.h
CommitLineData
7c884bf0 1#include <errno.h>
e6129e2b 2#include <sys/types.h>
e4a0e98e
SC
3#include <sys/dg_c_generics.h>
4#include <unistd.h>
e6129e2b 5
e4a0e98e
SC
6#include <string.h>
7#include <fcntl.h>
8#include <sys/stat.h>
9#include <time.h>
10#include <ctype.h>
11
12#include <stdio.h>
13
e6129e2b
SC
14#ifndef DONTDECLARE_MALLOC
15extern PROTO(PTR,malloc,(unsigned));
16extern PROTO(PTR ,realloc, (PTR, unsigned));
17#endif
18extern PROTO(int, abort,(void));
19extern PROTO(int, free,(PTR));
20extern PROTO(void, bcopy,(char*,char*,int));
21extern PROTO(void, exit,(int));
22extern int strtol();
23extern PROTO(void, bzero,(char *, int));
e4a0e98e
SC
24#define NO_STDARG 1
25
26
27
33b6c262
SC
28/* Macros for the 'type' part of an fopen, freopen or fdopen.
29 <Read|Write>[Update]<Binary file><text file>
30 */
31#define FOPEN_RB "r"
32#define FOPEN_WB "w"
33#define FOPEN_AB "a"
34#define FOPEN_RUB "r+"
35#define FOPEN_WUB "w+"
36#define FOPEN_AUB "a+"
37#define FOPEN_RT "r"
38#define FOPEN_WT "w"
39#define FOPEN_AT "a"
40#define FOPEN_RUT "r+"
41#define FOPEN_WUT "w+"
42#define FOPEN_AUT "a+"
This page took 0.038271 seconds and 4 git commands to generate.