gpp4 1.3.1
|
00001 /* 00002 ccp4_file_err.h: header file with file handling error codes 00003 Copyright (C) 2001 CCLRC, Charles Ballard 00004 00005 This library is free software: you can redistribute it and/or 00006 modify it under the terms of the GNU Lesser General Public 00007 License as published by the Free Software Foundation, either 00008 version 3 of the License, or (at your option) any later version. 00009 00010 This library is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Lesser General Public License for more details. 00014 00015 You should have received a copy of the GNU Lesser General Public 00016 License along with This library. If not, see 00017 <http://www.gnu.org/licenses/>. 00018 00019 */ 00026 #ifndef _GUARD_FILE_ERR 00027 #define _GUARD_FILE_ERR 00028 00029 #define CCP4_ERRNO(y) (CCP4_ERR_FILE | (y)) 00030 #define CIO_Ok 0 00031 #define CIO_BadMode 1 00032 #define CIO_CantOpenFile 2 00033 #define CIO_MaxFile 3 00034 #define CIO_ReadFail 4 00035 #define CIO_WriteFail 5 00036 #define CIO_CloseFail 6 00037 #define CIO_SeekFail 7 00038 #define CIO_NullPtr 8 00039 #define CIO_EOF 9 00040 #define CIO_NoFile 10 00041 #define CIO_NotOpen 11 00042 #define CIO_UnlinkFail 12 00043 00044 #endif 00045 00046 /* 00047 Local variables: 00048 mode: font-lock 00049 End: 00050 */