~ubuntu-branches/ubuntu/trusty/libguestfs/trusty

« back to all changes in this revision

Viewing changes to gnulib/lib/error.h

  • Committer: Package Import Robot
  • Author(s): Hilko Bengen
  • Date: 2012-04-13 20:14:25 UTC
  • mfrom: (15.1.29 sid)
  • Revision ID: package-import@ubuntu.com-20120413201425-28jcqz73eewoq1my
Tags: 1:1.16.18-1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Declaration for error-reporting function
2
 
   Copyright (C) 1995-1997, 2003, 2006, 2008-2011 Free Software Foundation,
 
2
   Copyright (C) 1995-1997, 2003, 2006, 2008-2012 Free Software Foundation,
3
3
   Inc.
4
4
   This file is part of the GNU C Library.
5
5
 
35
35
extern "C" {
36
36
#endif
37
37
 
38
 
/* Print a message with `fprintf (stderr, FORMAT, ...)';
 
38
/* Print a message with 'fprintf (stderr, FORMAT, ...)';
39
39
   if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM).
40
 
   If STATUS is nonzero, terminate the program with `exit (STATUS)'.  */
 
40
   If STATUS is nonzero, terminate the program with 'exit (STATUS)'.  */
41
41
 
42
42
extern void error (int __status, int __errnum, const char *__format, ...)
43
43
     _GL_ATTRIBUTE_FORMAT ((__printf__, 3, 4));
51
51
   function without parameters instead.  */
52
52
extern void (*error_print_progname) (void);
53
53
 
54
 
/* This variable is incremented each time `error' is called.  */
 
54
/* This variable is incremented each time 'error' is called.  */
55
55
extern unsigned int error_message_count;
56
56
 
57
57
/* Sometimes we want to have at most one error per line.  This