Rev 5191 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5191 | serge | 1 | /* Macros for the 'type' part of an fopen, freopen or fdopen. |
2 | |||
3 |
|
||
4 | |||
5 | This version is for VMS systems, where text and binary files are |
||
6 | different. |
||
7 | |||
6324 | serge | 8 | Copyright (C) 1996-2015 Free Software Foundation, Inc. |
5191 | serge | 9 | |
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. |
||
14 | |||
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. |
||
19 | |||
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. */ |
||
24 | |||
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. */ |
||
29 | |||
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" |
||
36 | |||
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+" |