home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer) / NeXT_Developer-3.3.iso / NextDeveloper / Source / GNU / cctools / include / stuff / errors.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-03-18  |  983 b   |  28 lines

  1. #import "mach/mach.h"
  2.  
  3. /* user defined (imported) */
  4. extern char *progname;
  5.  
  6. /* defined in errors.c */
  7. extern unsigned long errors;    /* number of detected calls to error() */
  8.  
  9. extern void warning(
  10.     const char *format, ...) __attribute__ ((format (printf, 1, 2)));
  11. extern void error(
  12.     const char *format, ...) __attribute__ ((format (printf, 1, 2)));
  13. extern void error_with_arch(
  14.     const char *arch_name,
  15.     const char *format, ...) __attribute__ ((format (printf, 2, 3)));
  16. extern void system_error(
  17.     const char *format, ...) __attribute__ ((format (printf, 1, 2)));
  18. extern void fatal(
  19.     const char *format, ...) __attribute__ ((format (printf, 1, 2)));
  20. extern void system_fatal(
  21.     const char *format, ...) __attribute__ ((format (printf, 1, 2)));
  22. extern void my_mach_error(
  23.     kern_return_t r,
  24.     char *format, ...) __attribute__ ((format (printf, 2, 3)));
  25. extern void mach_fatal(
  26.     kern_return_t r,
  27.     char *format, ...) __attribute__ ((format (printf, 2, 3)));
  28.