~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/include/fopen-vms.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Macros for the 'type' part of an fopen, freopen or fdopen. 
 
2
 
 
3
        <Read|Write>[Update]<Binary file|text file>
 
4
 
 
5
   This version is for VMS systems, where text and binary files are
 
6
   different.
 
7
   
 
8
   Copyright 1996-2012 Free Software Foundation, Inc.
 
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+"