home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / xco212p.zip / CDEF / errno.def < prev    next >
Text File  |  1995-05-31  |  2KB  |  43 lines

  1. (* Copyright (c) xTech 1992,95.  All Rights Reserved *)
  2. <*+ CSTDLIB  *>
  3. <*+ NOHEADER*>
  4. <*+ M2EXTENSIONS *>
  5. DEFINITION MODULE [2] errno;
  6.  
  7. FROM SYSTEM IMPORT int;
  8.  
  9. VAR
  10.   errno: int;
  11.  
  12.   EZERO    -: int; (* Error 0                                   *)
  13.   EINVFNC  -: int; (* Invalid function number                   *)
  14.   ENOFILE  -: int; (* File not found                            *)
  15.   ENOPATH  -: int; (* Path not found                            *)
  16.   ECONTR   -: int; (* Memory blocks destroyed                   *)
  17.   EINVMEM  -: int; (* Invalid memory block address              *)
  18.   EINVENV  -: int; (* Invalid environment                       *)
  19.   EINVFMT  -: int; (* Invalid format                            *)
  20.   EINVACC  -: int; (* Invalid access code                       *)
  21.   EINVDAT  -: int; (* Invalid data                              *)
  22.   EINVDRV  -: int; (* Invalid drive specified                   *)
  23.   ECURDIR  -: int; (* Attempt to remove CurDir                  *)
  24.   ENOTSAM  -: int; (* Not same device                           *)
  25.   ENMFILE  -: int; (* No more files                             *)
  26.   ENOENT   -: int; (* No such file or directory                 *)
  27.   EMFILE   -: int; (* Too many open files                       *)
  28.   EACCES   -: int; (* Permission denied                         *)
  29.   EBADF    -: int; (* Bad file number                           *)
  30.   ENOMEM   -: int; (* Not enough memory                         *)
  31.   ENODEV   -: int; (* No such device                            *)
  32.   EINVAL   -: int; (* Invalid argument                          *)
  33.   E2BIG    -: int; (* Arg list too long                         *)
  34.   ENOEXEC  -: int; (* Exec format error                         *)
  35.   EXDEV    -: int; (* Cross-device link                         *)
  36.   EDOM     -: int; (* Math argument                             *)
  37.   ERANGE   -: int; (* Result too large                          *)
  38.   EFAULT   -: int; (* Unknown error                             *)
  39.   EEXIST   -: int; (* File already exists                       *)
  40.   EISDIR   -: int; (* File is a directory                       *)
  41.  
  42. END errno.
  43.