home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_01 / PC_V11_A.LZH / INCLUDE / ERRNO.H < prev    next >
Text File  |  1992-10-14  |  2KB  |  43 lines

  1. /*      ERRNO.H
  2.  
  3.         Library error code definitions
  4.  
  5.         Copyright (c) Borland International 1990
  6.         All Rights Reserved.
  7. */
  8.  
  9.  
  10. #if !defined(__ERRNO)
  11. #define __ERRNO
  12.  
  13.  
  14. extern int errno;
  15.  
  16. #define EPERM   1       /* file permission denied     */
  17. #define ENOENT  2       /* file not found             */
  18. #define EIO     5       /* general i/o error          */
  19. #define EBADF   9       /* invalid file handle        */
  20. #define EILLSPE 10      /* illegal file specification */
  21. #define EINVMEM 11      /* invalid heap block         */
  22. #define ENOMEM  12      /* heap overflow              */
  23. #define EACCES  13      /* file access mode error     */
  24. #define EEXIST  17      /* file already exists        */
  25. #define EPLFMT  18      /* program load format error  */
  26. #define ENODEV  19      /* device error               */
  27. #define ENOTDIR 20      /* path not found             */
  28. #define EINVAL  22      /* invalid parameter          */
  29. #define ENFILE  23      /* file table overflow        */
  30. #define EMFILE  24      /* too many open files        */
  31. #define ENOSPC  28      /* disk full                  */
  32. #define ESPIPE  29      /* seek error                 */
  33. #define EROFS   30      /* read only device           */
  34. #define EDOM    33      /* domain error               */
  35. #define ERANGE  34      /* range error                */
  36. #define ENMFILE 35      /* no more matching file      */
  37.  
  38. #define sys_nerr 35
  39.  
  40. #endif
  41.  
  42. /************************************************************************/
  43.