Annotation of GNUtools/cctools/include/stuff/errors.h, revision 1.1

1.1     ! root        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)));

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.