-
+ D8B7E0F6AEA24BE22BCFA208F4A3A115B6F30E9C38A3E5DCF7386BF8781684286D1368703CEA7D51AE15EE29AA9D5D7524C4D6F7A487A2877053B90F85CD64BF
vtools/lib/error.h
(0 . 0)(1 . 25)
738 #ifndef _ERROR_H
739 #define _ERROR_H 1
740
741 /* Print a message with |fprintf(stderr, format, ...);| if |errnum| is
742 nonzero, follow it with ": " and |strerror(errnum)|. If |status|
743 is nonzero, terminate the program with |exit(status)|. */
744
745 extern void error(int __status, int __errnum, const char *__format, ...);
746
747 extern void error_at_line(int __status, int __errnum, const char *__fname,
748 unsigned int __lineno, const char *__format, ...);
749
750 /* If |NULL|, error will flush |stdout|, then print on |stderr| the
751 program name, a colon and a space. Otherwise, error will call this
752 function without parameters instead. */
753 extern void (*error_print_progname)(void);
754
755 /* This variable is incremented each time |error| is called. */
756 extern unsigned int error_message_count;
757
758 /* Sometimes we want to have at most one error per line. This
759 variable controls whether this mode is selected or not. */
760 extern int error_one_per_line;
761
762 #endif