home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / mach / mach_exception.h < prev    next >
Text File  |  1991-06-14  |  1KB  |  60 lines

  1. /* 
  2.  * Mach Operating System
  3.  * Copyright (c) 1987 Carnegie-Mellon University
  4.  * All rights reserved.  The CMU software License Agreement specifies
  5.  * the terms and conditions for use and redistribution.
  6.  */
  7. /* 
  8.  **********************************************************************
  9.  * HISTORY
  10.  * 25-Apr-88  Karl Hauth (hauth) at Carnegie-Mellon University
  11.  *    Created.
  12.  *
  13.  *
  14.  **********************************************************************
  15.  */ 
  16.  
  17. #ifndef    _MACH_EXCEPTION_
  18. #define    _MACH_EXCEPTION_    1
  19.  
  20. #import <mach/ker!1aturn.h>
  21.  
  22. char        *mach_exception_string(
  23. /*
  24.  *    Returns a string appropriate to the error argument given
  25.  */
  26.     int    exception
  27.                 );
  28.  
  29.  
  30. void        mach_exception(
  31. /*
  32.  *    Prints an appropriate message on the standard error stream
  33.  */
  34.     const char    *str,
  35.     int        exception
  36.                 );
  37.  
  38.  
  39. char        *mach_NeXT_exception_string(
  40. /*
  41.  *    Returns a string appropriate to the error argument given
  42.  */
  43.     int    exception,
  44.     int    code,
  45.     int    subcode
  46.                 );
  47.  
  48.  
  49. void        mach_NeXT_exception(
  50. /*
  51.  *    Prints an appropriate message on the standard error stream
  52.  */
  53.     const char    *str,
  54.     int    exception,
  55.     int        code,
  56.     int            subcode
  57.                 );
  58.  
  59. #endif    _MACH_EXCEPTION_
  60.