OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [include/] [fopen-vms.h] - Blame information for rev 252

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
/* 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=udf,rat=none"
13
#define FOPEN_WB        "wb,rfm=udf,rat=none"
14
#define FOPEN_AB        "ab,rfm=udf,rat=none"
15
#define FOPEN_RUB       "r+b,rfm=udf,rat=none"
16
#define FOPEN_WUB       "w+b,rfm=udf,rat=none"
17
#define FOPEN_AUB       "a+b,rfm=udf,rat=none"
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+"

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.