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