gpp4  1.3.1
ccp4_file_err.h
Go to the documentation of this file.
1 /*
2  ccp4_file_err.h: header file with file handling error codes
3  Copyright (C) 2001 CCLRC, Charles Ballard
4 
5  This library is free software: you can redistribute it and/or
6  modify it under the terms of the GNU Lesser General Public
7  License as published by the Free Software Foundation, either
8  version 3 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public
16  License along with This library. If not, see
17  <http://www.gnu.org/licenses/>.
18 
19 */
26 #ifndef _GUARD_FILE_ERR
27 #define _GUARD_FILE_ERR
28 
29 #define CCP4_ERRNO(y) (CCP4_ERR_FILE | (y))
30 #define CIO_Ok 0
31 #define CIO_BadMode 1
32 #define CIO_CantOpenFile 2
33 #define CIO_MaxFile 3
34 #define CIO_ReadFail 4
35 #define CIO_WriteFail 5
36 #define CIO_CloseFail 6
37 #define CIO_SeekFail 7
38 #define CIO_NullPtr 8
39 #define CIO_EOF 9
40 #define CIO_NoFile 10
41 #define CIO_NotOpen 11
42 #define CIO_UnlinkFail 12
43 
44 #endif
45 
46 /*
47  Local variables:
48  mode: font-lock
49  End:
50 */