133965Sjdp/* Macros for the 'type' part of an fopen, freopen or fdopen.
233965Sjdp
333965Sjdp	<Read|Write>[Update]<Binary file|text file>
433965Sjdp
533965Sjdp   This version is for "same" systems, where text and binary files are
633965Sjdp   the same.  An example is Unix.  Many Unix systems could also add a
733965Sjdp   "b" to the string, indicating binary files, but some reject this
833965Sjdp   (and thereby don't conform to ANSI C, but what else is new?).
933965Sjdp
1033965Sjdp   This file is designed for inclusion by host-dependent .h files.  No
1133965Sjdp   user application should include it directly, since that would make
1233965Sjdp   the application unable to be configured for both "same" and "binary"
1333965Sjdp   variant systems.  */
1433965Sjdp
1533965Sjdp#define FOPEN_RB	"r"
1633965Sjdp#define FOPEN_WB 	"w"
1733965Sjdp#define FOPEN_AB 	"a"
1833965Sjdp#define FOPEN_RUB 	"r+"
1933965Sjdp#define FOPEN_WUB 	"w+"
2033965Sjdp#define FOPEN_AUB 	"a+"
2133965Sjdp
2233965Sjdp#define FOPEN_RT	"r"
2333965Sjdp#define FOPEN_WT 	"w"
2433965Sjdp#define FOPEN_AT 	"a"
2533965Sjdp#define FOPEN_RUT 	"r+"
2633965Sjdp#define FOPEN_WUT 	"w+"
2733965Sjdp#define FOPEN_AUT 	"a+"
28