ftp.nice.ch/pub/next/developer/nextsources/cctools.s.tar.gz#/cctools/include/stuff/errors.h

This is errors.h in view mode; [Download] [Up]

#import "mach/mach.h"

/* user defined (imported) */
extern char *progname;

/* defined in errors.c */
extern unsigned long errors;	/* number of detected calls to error() */

extern void warning(
    const char *format, ...) __attribute__ ((format (printf, 1, 2)));
extern void error(
    const char *format, ...) __attribute__ ((format (printf, 1, 2)));
extern void error_with_arch(
    const char *arch_name,
    const char *format, ...) __attribute__ ((format (printf, 2, 3)));
extern void system_error(
    const char *format, ...) __attribute__ ((format (printf, 1, 2)));
extern void fatal(
    const char *format, ...) __attribute__ ((format (printf, 1, 2)));
extern void system_fatal(
    const char *format, ...) __attribute__ ((format (printf, 1, 2)));
extern void my_mach_error(
    kern_return_t r,
    char *format, ...) __attribute__ ((format (printf, 2, 3)));
extern void mach_fatal(
    kern_return_t r,
    char *format, ...) __attribute__ ((format (printf, 2, 3)));

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.