home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / MW MPW Binaries 1.1.1a2 / mwcPPC / MWCIncludes / errno.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-07-18  |  567 b   |  33 lines  |  [TEXT/MMCC]

  1. /* errno.h standard header */
  2. #ifndef _ERRNO
  3. #define _ERRNO
  4. #ifndef _YVALS
  5. #include <yvals.h>
  6. #endif
  7.  
  8. #if __MWERKS__
  9. #pragma options align=mac68k
  10. #endif
  11.  
  12.         /* error codes */
  13. #define EDOM    _EDOM
  14. #define ERANGE    _ERANGE
  15. #define EFPOS    _EFPOS
  16. #define EILSEQ    _EILSEQ
  17.     /* ADD YOURS HERE */
  18. #define _NERR    _ERRMAX    /* one more than last code */
  19.         /* declarations */
  20. extern int errno;
  21.  
  22. #if __MWERKS__
  23. #pragma options align=reset
  24. #endif
  25.  
  26. #endif
  27.  
  28. /*
  29.  * Copyright (c) 1994 by P.J. Plauger.  ALL RIGHTS RESERVED. 
  30.  * Consult your license regarding permissions and restrictions.
  31.  */
  32.  
  33.