~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to lib/verror.h

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-11-28 03:03:42 UTC
  • mfrom: (8.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20121128030342-21zanj8354gas5gr
Tags: 8.20-3ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Make 'uname -i -p' return the real processor/hardware, instead of
    unknown.
  - Build-depend on gettext:any instead of on gettext, so that apt-get can
    properly resolve build-dependencies on the tool when cross-building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Declaration for va_list error-reporting function
2
 
   Copyright (C) 2006-2007, 2009-2011 Free Software Foundation, Inc.
 
2
   Copyright (C) 2006-2007, 2009-2012 Free Software Foundation, Inc.
3
3
 
4
4
   This program is free software: you can redistribute it and/or modify
5
5
   it under the terms of the GNU General Public License as published by
25
25
extern "C" {
26
26
#endif
27
27
 
28
 
/* Print a message with `vfprintf (stderr, FORMAT, ARGS)';
 
28
/* Print a message with 'vfprintf (stderr, FORMAT, ARGS)';
29
29
   if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM).
30
 
   If STATUS is nonzero, terminate the program with `exit (STATUS)'.
 
30
   If STATUS is nonzero, terminate the program with 'exit (STATUS)'.
31
31
   Use the globals error_print_progname and error_message_count similarly
32
32
   to error().  */
33
33
 
35
35
                    va_list __args)
36
36
     _GL_ATTRIBUTE_FORMAT ((__printf__, 3, 0));
37
37
 
38
 
/* Print a message with `vfprintf (stderr, FORMAT, ARGS)';
 
38
/* Print a message with 'vfprintf (stderr, FORMAT, ARGS)';
39
39
   if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM).
40
 
   If STATUS is nonzero, terminate the program with `exit (STATUS)'.
41
 
   If FNAME is not NULL, prepend the message with `FNAME:LINENO:'.
 
40
   If STATUS is nonzero, terminate the program with 'exit (STATUS)'.
 
41
   If FNAME is not NULL, prepend the message with "FNAME:LINENO:".
42
42
   Use the globals error_print_progname, error_message_count, and
43
43
   error_one_per_line similarly to error_at_line().  */
44
44