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 2.1 of the License, or (at your option) any later 00009 version. 00010 00011 This library is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 Lesser General Public License for more details. 00015 00016 You should have received a copy of the GNU Lesser General Public 00017 License along with this library; if not, write to the Free 00018 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00019 Boston, MA 02110-1301 USA 00020 00021 */ 00028 #ifndef _GUARD_FILE_ERR 00029 #define _GUARD_FILE_ERR 00030 00031 #define CCP4_ERRNO(y) (CCP4_ERR_FILE | (y)) 00032 #define CIO_Ok 0 00033 #define CIO_BadMode 1 00034 #define CIO_CantOpenFile 2 00035 #define CIO_MaxFile 3 00036 #define CIO_ReadFail 4 00037 #define CIO_WriteFail 5 00038 #define CIO_CloseFail 6 00039 #define CIO_SeekFail 7 00040 #define CIO_NullPtr 8 00041 #define CIO_EOF 9 00042 #define CIO_NoFile 10 00043 #define CIO_NotOpen 11 00044 #define CIO_UnlinkFail 12 00045 00046 #endif 00047 00048 /* 00049 Local variables: 00050 mode: font-lock 00051 End: 00052 */