11590Srgrimes/* Macros for the 'type' part of an fopen, freopen or fdopen. 25814Sjkh 35814Sjkh <Read|Write>[Update]<Binary file|text file> 41590Srgrimes 51590Srgrimes This version is for "binary" systems, where text and binary files are 61590Srgrimes different. An example is Mess-Dose. Many Unix systems could also 71590Srgrimes cope with a "b" in the string, indicating binary files, but some reject this 81590Srgrimes (and thereby don't conform to ANSI C, but what else is new?). 91590Srgrimes 101590Srgrimes This file is designed for inclusion by host-dependent .h files. No 111590Srgrimes user application should include it directly, since that would make 121590Srgrimes the application unable to be configured for both "same" and "binary" 131590Srgrimes variant systems. */ 141590Srgrimes 151590Srgrimes#define FOPEN_RB "rb" 161590Srgrimes#define FOPEN_WB "wb" 171590Srgrimes#define FOPEN_AB "ab" 181590Srgrimes#define FOPEN_RUB "r+b" 191590Srgrimes#define FOPEN_WUB "w+b" 201590Srgrimes#define FOPEN_AUB "a+b" 211590Srgrimes 221590Srgrimes#define FOPEN_RT "r" 231590Srgrimes#define FOPEN_WT "w" 241590Srgrimes#define FOPEN_AT "a" 251590Srgrimes#define FOPEN_RUT "r+" 261590Srgrimes#define FOPEN_WUT "w+" 271590Srgrimes#define FOPEN_AUT "a+" 281590Srgrimes