/* * Copyright (c) 1995, 1996 Gunther Schadow. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "pg_config.h" IDENT("@(#) ansi-error.c (Gunther Schadow) 12/19/96"); #include char *ansi_errlist[AS_MAX_ERRNO + 1] = { "no error", /* 0 */ "termination interrupt", /* 1 AS_EINTR */ "sending station abort", /* 2 AS_EABORT */ "reverse interrupt", /* 3 AS_ERINT */ "temporary interrupt", /* 4 AS_EWACK */ "resend counter expired", /* 5 AS_ERETRY */ "reading beyond end of message", /* 6 AS_ERANGE */ "handshake syntax error", /* 7 AS_ESYNTAX */ "timer a timeout", /* 8 AS_ETIMERA */ "timer d timeout", /* 9 AS_ETIMERD */ "timer e timeout", /* a AS_ETIMERE */ "buffer memory exceeded", /* b AS_ENOBUF */ "illegal operation", /* c AS_EILL */ "message has no text part", /* d AS_ENOTEXT */ "block has already some text", /* e AS_ETEXT */ "connection closed by peer", /* f AS_ECONNRESET */ "os error" /* 10 AS_EIO */ };