1 /* Macros for the 'type' part of an fopen, freopen or fdopen.
3 <Read|Write>[Update]<Binary file|text file>
5 This version is for VMS systems, where text and binary files are
8 Copyright (C) 1996-2017 Free Software Foundation, Inc.
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2, or (at your option)
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin Street - Fifth Floor,
23 Boston, MA 02110-1301, USA. */
25 /* This file is designed for inclusion by host-dependent .h files. No
26 user application should include it directly, since that would make
27 the application unable to be configured for both "same" and "binary"
30 #define FOPEN_RB "rb,rfm=udf,rat=none"
31 #define FOPEN_WB "wb,rfm=udf,rat=none"
32 #define FOPEN_AB "ab,rfm=udf,rat=none"
33 #define FOPEN_RUB "r+b,rfm=udf,rat=none"
34 #define FOPEN_WUB "w+b,rfm=udf,rat=none"
35 #define FOPEN_AUB "a+b,rfm=udf,rat=none"
40 #define FOPEN_RUT "r+"
41 #define FOPEN_WUT "w+"
42 #define FOPEN_AUT "a+"