1N/A/* Declaration for error-reporting function 1N/A Copyright (C) 1995, 1996, 1997, 2003, 2006, 2008, 2009, 2010 Free Software 1N/A This file is part of the GNU C Library. 1N/A This program is free software: you can redistribute it and/or modify 1N/A it under the terms of the GNU General Public License as published by 1N/A the Free Software Foundation; either version 3 of the License, or 1N/A (at your option) any later version. 1N/A This program is distributed in the hope that it will be useful, 1N/A but WITHOUT ANY WARRANTY; without even the implied warranty of 1N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1N/A GNU General Public License for more details. 1N/A You should have received a copy of the GNU General Public License 1N/A/* The __attribute__ feature is available in gcc versions 2.5 and later. 1N/A The __-protected variants of the attributes 'format' and 'printf' are 1N/A accepted by gcc versions 2.6.4 (effectively 2.7) and later. 1N/A We enable __attribute__ only if these are supported too, because 1N/A gnulib and libintl do '#define printf __printf__' when they override 1N/A the 'printf' function. */ 1N/A/* Print a message with `fprintf (stderr, FORMAT, ...)'; 1N/A if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM). 1N/A If STATUS is nonzero, terminate the program with `exit (STATUS)'. */ 1N/A/* If NULL, error will flush stdout, then print on stderr the program 1N/A name, a colon and a space. Otherwise, error will call this 1N/A function without parameters instead. */ 1N/A/* This variable is incremented each time `error' is called. */ 1N/A/* Sometimes we want to have at most one error per line. This 1N/A variable controls whether this mode is selected or not. */