1130812Smarcel/* Macros for the 'type' part of an fopen, freopen or fdopen. 2130812Smarcel 3130812Smarcel <Read|Write>[Update]<Binary file|text file> 4130812Smarcel 5130812Smarcel This version is for "same" systems, where text and binary files are 6130812Smarcel the same. An example is Unix. Many Unix systems could also add a 7130812Smarcel "b" to the string, indicating binary files, but some reject this 8130812Smarcel (and thereby don't conform to ANSI C, but what else is new?). 9130812Smarcel 10130812Smarcel This file is designed for inclusion by host-dependent .h files. No 11130812Smarcel user application should include it directly, since that would make 12130812Smarcel the application unable to be configured for both "same" and "binary" 13130812Smarcel variant systems. */ 14130812Smarcel 15130812Smarcel#define FOPEN_RB "r" 16130812Smarcel#define FOPEN_WB "w" 17130812Smarcel#define FOPEN_AB "a" 18130812Smarcel#define FOPEN_RUB "r+" 19130812Smarcel#define FOPEN_WUB "w+" 20130812Smarcel#define FOPEN_AUB "a+" 21130812Smarcel 22130812Smarcel#define FOPEN_RT "r" 23130812Smarcel#define FOPEN_WT "w" 24130812Smarcel#define FOPEN_AT "a" 25130812Smarcel#define FOPEN_RUT "r+" 26130812Smarcel#define FOPEN_WUT "w+" 27130812Smarcel#define FOPEN_AUT "a+" 28