NCEPLIBS-bacio  2.6.0
clib.h
Go to the documentation of this file.
1 
7 #include <stdlib.h>
8 
9 /* These are the mode flags for the bacio_() function. */
10 #define BAOPEN_RONLY 1
11 #define BAOPEN_WONLY 2
12 #define BAOPEN_RW 4
13 #define BACLOSE 8
14 #define BAREAD 16
15 #define BAWRITE 32
16 #define NOSEEK 64
17 #define BAOPEN_WONLY_TRUNC 128
18 #define BAOPEN_WONLY_APPEND 256
20 /* Error codes. */
21 
22 #define BA_NOERROR 0
23 #define BA_EROANDWO 255
24 #define BA_ERANDW 254
25 #define BA_EINTNAME 253
26 #define BA_EFILEOPEN 252
27 #define BA_ERONWO 251
28 #define BA_ERNOSTART 250
29 #define BA_EWANDRO 249
30 #define BA_EWNOSTART 248
31 #define BA_ECLOSE 247
32 #define BA_EFEWDATA 246
33 #define BA_EDATANULL 102