~pac72/ubuntu/lucid/ddd/devel

« back to all changes in this revision

Viewing changes to include/fopen-vms.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Schepler
  • Date: 2004-07-22 03:49:37 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040722034937-cysl08t1jvba4jrx
Tags: 1:3.3.9-3
USERINFO has been renamed to USERINFO.txt; adjust debian/rules code
to match, to get correct information on the About DDD dialog.

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
 
   This file is designed for inclusion by host-dependent .h files.  No
8
 
   user application should include it directly, since that would make
9
 
   the application unable to be configured for both "same" and "binary"
10
 
   variant systems.  */
11
 
 
12
 
#define FOPEN_RB        "rb","rfm=var"
13
 
#define FOPEN_WB        "wb","rfm=var"
14
 
#define FOPEN_AB        "ab","rfm=var"
15
 
#define FOPEN_RUB       "r+b","rfm=var"
16
 
#define FOPEN_WUB       "w+b","rfm=var"
17
 
#define FOPEN_AUB       "a+b","rfm=var"
18
 
 
19
 
#define FOPEN_RT        "r"
20
 
#define FOPEN_WT        "w"
21
 
#define FOPEN_AT        "a"
22
 
#define FOPEN_RUT       "r+"
23
 
#define FOPEN_WUT       "w+"
24
 
#define FOPEN_AUT       "a+"