1*4361b62eSniklas /* Macros for the 'type' part of an fopen, freopen or fdopen. 2*4361b62eSniklas 3*4361b62eSniklas <Read|Write>[Update]<Binary file|text file> 4*4361b62eSniklas 5*4361b62eSniklas This version is for VMS systems, where text and binary files are 6*4361b62eSniklas different. 7*4361b62eSniklas This file is designed for inclusion by host-dependent .h files. No 8*4361b62eSniklas user application should include it directly, since that would make 9*4361b62eSniklas the application unable to be configured for both "same" and "binary" 10*4361b62eSniklas variant systems. */ 11*4361b62eSniklas 12*4361b62eSniklas #define FOPEN_RB "rb","rfm=var" 13*4361b62eSniklas #define FOPEN_WB "wb","rfm=var" 14*4361b62eSniklas #define FOPEN_AB "ab","rfm=var" 15*4361b62eSniklas #define FOPEN_RUB "r+b","rfm=var" 16*4361b62eSniklas #define FOPEN_WUB "w+b","rfm=var" 17*4361b62eSniklas #define FOPEN_AUB "a+b","rfm=var" 18*4361b62eSniklas 19*4361b62eSniklas #define FOPEN_RT "r" 20*4361b62eSniklas #define FOPEN_WT "w" 21*4361b62eSniklas #define FOPEN_AT "a" 22*4361b62eSniklas #define FOPEN_RUT "r+" 23*4361b62eSniklas #define FOPEN_WUT "w+" 24*4361b62eSniklas #define FOPEN_AUT "a+" 25