Automatic date update in version.in
[binutils-gdb.git] / include / fopen-vms.h
blobc9ce7ceff8e5642d67cbbe80f778b8bfafc4a1b3
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
6 different.
8 Copyright (C) 1996-2024 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)
13 any later version.
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"
28 variant systems. */
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"
37 #define FOPEN_RT "r"
38 #define FOPEN_WT "w"
39 #define FOPEN_AT "a"
40 #define FOPEN_RUT "r+"
41 #define FOPEN_WUT "w+"
42 #define FOPEN_AUT "a+"