Mercurial > hg > octave-shane > gnulib-hg
comparison lib/error.h @ 16235:18a38c9615f0
In commentary, do not use ` to quote.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Thu, 05 Jan 2012 23:53:49 -0800 |
parents | 8250f2777afc |
children | e542fd46ad6f |
comparison
equal
deleted
inserted
replaced
16234:f9b906545e2f | 16235:18a38c9615f0 |
---|---|
33 | 33 |
34 #ifdef __cplusplus | 34 #ifdef __cplusplus |
35 extern "C" { | 35 extern "C" { |
36 #endif | 36 #endif |
37 | 37 |
38 /* Print a message with `fprintf (stderr, FORMAT, ...)'; | 38 /* Print a message with 'fprintf (stderr, FORMAT, ...)'; |
39 if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM). | 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 extern void error (int __status, int __errnum, const char *__format, ...) | 42 extern void error (int __status, int __errnum, const char *__format, ...) |
43 _GL_ATTRIBUTE_FORMAT ((__printf__, 3, 4)); | 43 _GL_ATTRIBUTE_FORMAT ((__printf__, 3, 4)); |
44 | 44 |
45 extern void error_at_line (int __status, int __errnum, const char *__fname, | 45 extern void error_at_line (int __status, int __errnum, const char *__fname, |
49 /* If NULL, error will flush stdout, then print on stderr the program | 49 /* If NULL, error will flush stdout, then print on stderr the program |
50 name, a colon and a space. Otherwise, error will call this | 50 name, a colon and a space. Otherwise, error will call this |
51 function without parameters instead. */ | 51 function without parameters instead. */ |
52 extern void (*error_print_progname) (void); | 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 extern unsigned int error_message_count; | 55 extern unsigned int error_message_count; |
56 | 56 |
57 /* Sometimes we want to have at most one error per line. This | 57 /* Sometimes we want to have at most one error per line. This |
58 variable controls whether this mode is selected or not. */ | 58 variable controls whether this mode is selected or not. */ |
59 extern int error_one_per_line; | 59 extern int error_one_per_line; |